1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Usage
vtkBase64InputStream implements base64 decoding with the
vtkInputStream interface.
To create an instance of class vtkBase64InputStream, simply
invoke its constructor as follows
obj = vtkBase64InputStream
Methods
The class vtkBase64InputStream has several methods that can
be used. They are listed below. Note that the documentation
is translated automatically from the VTK sources, and may
not be completely intelligible. When in doubt, consult the
VTK website. In the methods listed below, obj is an instance
of the vtkBase64InputStream class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkBase64InputStream = obj.NewInstance ()
* vtkBase64InputStream = obj.SafeDownCast (vtkObject o)
* obj.StartReading () - Called after the stream position has
been set by the caller, but before any Seek or Read calls.
The stream position should not be adjusted by the caller
until after an EndReading call.
* int = obj.Seek (long offset) - Seek to the given offset in
the input data. Returns 1 for success, 0 for failure.
* long = obj.Read (string data, long length) - Read input
data of the given length. Returns amount actually read.
* obj.EndReading () - Called after all desired calls to Seek
and Read have been made. After this call, the caller is
free to change the position of the stream. Additional
reads should not be done until after another call to
StartReading.
* FreeMat_Documentation
* Visualization_Toolkit_IO_Classes
* Generated on Thu Jul 25 2013 17:18:34 for FreeMat by
doxygen_ 1.8.1.1
|