Go to the documentation of this file.
23 #ifndef vtkBase64OutputStream_h
24 #define vtkBase64OutputStream_h
26 #include "vtkIOCoreModule.h"
62 unsigned char Buffer[2];
65 int EncodeTriplet(
unsigned char c0,
unsigned char c1,
unsigned char c2);
Writes base64-encoded output to a stream.
int EndWriting()
Called after all desired calls to Write have been made.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int EncodeEnding(unsigned char c0)
int EncodeTriplet(unsigned char c0, unsigned char c1, unsigned char c2)
int Write(void const *data, size_t length)
Write output data of the given length.
unsigned int BufferLength
static vtkBase64OutputStream * New()
a simple class to control print indentation
Wraps a binary output stream with a VTK interface.
int StartWriting()
Called after the stream position has been set by the caller, but before any Write calls.
int EncodeEnding(unsigned char c0, unsigned char c1)