22 #ifndef vtkBase64OutputStream_h
23 #define vtkBase64OutputStream_h
55 unsigned char Buffer[2];
58 int EncodeTriplet(
unsigned char c0,
unsigned char c1,
unsigned char c2);
59 int EncodeEnding(
unsigned char c0,
unsigned char c1);
60 int EncodeEnding(
unsigned char c0);
a simple class to control print indentation
unsigned int BufferLength
void PrintSelf(ostream &os, vtkIndent indent)
Wraps a binary output stream with a VTK interface.
virtual int StartWriting()
virtual int Write(void const *data, size_t length)
static vtkOutputStream * New()
Writes base64-encoded output to a stream.