17 #ifndef __igstkBinaryData_h
18 #define __igstkBinaryData_h
21 #include <itkObject.h>
60 void SetSize(
unsigned int size);
72 void CopyFrom(
unsigned char* inputBegin,
unsigned int inputLength);
75 void CopyTo(
unsigned char* output)
const;
78 void Append(
unsigned char byte);
81 void Append(
const unsigned char* inputBegin,
unsigned int inputLength);
96 unsigned char operator[](
const unsigned int index )
const;
99 unsigned char&
operator[](
const unsigned int index );
103 operator std::string()
const;
106 void Print(std::ostream& os, itk::Indent indent)
const;
109 static void Encode( std::string& output,
const unsigned char *data,
113 bool Decode(
const std::string& asciiString );
118 void PrintHeader(std::ostream& os, itk::Indent indent)
const;
122 itk::Indent itkNotUsed(indent))
const;
125 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;