ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkBase64Utilities Class Reference

vtkBase64Utilities - base64 encode and decode utilities. More...

Inheritance diagram for Kitware.VTK.vtkBase64Utilities:
[legend]
Collaboration diagram for Kitware.VTK.vtkBase64Utilities:
[legend]

List of all members.

Public Member Functions

 vtkBase64Utilities (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkBase64Utilities ()
 Undocumented Block.
override int IsA (string type)
 Undocumented Block.
new vtkBase64Utilities NewInstance ()
 Undocumented Block.

Static Public Member Functions

static new vtkBase64Utilities New ()
 Undocumented Block.
static uint Decode (IntPtr input, uint length, IntPtr output, uint max_input_length)
 Decode bytes from the input buffer and store the decoded stream into the output buffer until 'length' bytes have been decoded. Return the real length of the decoded stream (which should be equal to 'length'). Note that the output buffer must be allocated by the caller. If 'max_input_length' is not null, then it specifies the number of encoded bytes that should be at most read from the input buffer. In that case the 'length' parameter is ignored. This enables the caller to decode a stream without actually knowing how much decoded data to expect (of course, the buffer must be large enough).
static int DecodeTriplet (byte i0, byte i1, byte i2, byte i3, IntPtr o0, IntPtr o1, IntPtr o2)
 Decode 4 bytes into 3 bytes.
static uint Encode (IntPtr input, uint length, IntPtr output, int mark_end)
 Encode 'length' bytes from the input buffer and store the encoded stream into the output buffer. Return the length of the encoded stream. Note that the output buffer must be allocated by the caller (length * 1.5 should be a safe estimate). If 'mark_end' is true than an extra set of 4 bytes is added to the end of the stream if the input is a multiple of 3 bytes. These bytes are invalid chars and therefore they will stop the decoder thus enabling the caller to decode a stream without actually knowing how much data to expect (if the input is not a multiple of 3 bytes then the extra padding needed to complete the encode 4 bytes will stop the decoding anyway).
static void EncodePair (byte i0, byte i1, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
 Encode 2 bytes into 4 bytes.
static void EncodeSingle (byte i0, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
 Encode 1 byte into 4 bytes.
static void EncodeTriplet (byte i0, byte i1, byte i2, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
 Encode 3 bytes into 4 bytes.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkBase64Utilities SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkBase64Utilities"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "18vtkBase64Utilities"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkBase64Utilities_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkBase64Utilities_Decode_01 (IntPtr input, uint length, IntPtr output, uint max_input_length)
static internal int vtkBase64Utilities_DecodeTriplet_02 (byte i0, byte i1, byte i2, byte i3, IntPtr o0, IntPtr o1, IntPtr o2)
static internal uint vtkBase64Utilities_Encode_03 (IntPtr input, uint length, IntPtr output, int mark_end)
static internal void vtkBase64Utilities_EncodePair_04 (byte i0, byte i1, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
static internal void vtkBase64Utilities_EncodeSingle_05 (byte i0, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
static internal void vtkBase64Utilities_EncodeTriplet_06 (byte i0, byte i1, byte i2, IntPtr o0, IntPtr o1, IntPtr o2, IntPtr o3)
static internal int vtkBase64Utilities_IsA_07 (HandleRef pThis, string type)
static internal int vtkBase64Utilities_IsTypeOf_08 (string type)
static internal IntPtr vtkBase64Utilities_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkBase64Utilities_SafeDownCast_11 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkBase64Utilities ()
 Automatically generated type registration mechanics.

Detailed Description

vtkBase64Utilities - base64 encode and decode utilities.

Description vtkBase64Utilities implements base64 encoding and decoding.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

static uint Kitware.VTK.vtkBase64Utilities.Decode ( IntPtr  input,
uint  length,
IntPtr  output,
uint  max_input_length 
) [static]

Decode bytes from the input buffer and store the decoded stream into the output buffer until 'length' bytes have been decoded. Return the real length of the decoded stream (which should be equal to 'length'). Note that the output buffer must be allocated by the caller. If 'max_input_length' is not null, then it specifies the number of encoded bytes that should be at most read from the input buffer. In that case the 'length' parameter is ignored. This enables the caller to decode a stream without actually knowing how much decoded data to expect (of course, the buffer must be large enough).

static int Kitware.VTK.vtkBase64Utilities.DecodeTriplet ( byte  i0,
byte  i1,
byte  i2,
byte  i3,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2 
) [static]

Decode 4 bytes into 3 bytes.

override void Kitware.VTK.vtkBase64Utilities.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

static uint Kitware.VTK.vtkBase64Utilities.Encode ( IntPtr  input,
uint  length,
IntPtr  output,
int  mark_end 
) [static]

Encode 'length' bytes from the input buffer and store the encoded stream into the output buffer. Return the length of the encoded stream. Note that the output buffer must be allocated by the caller (length * 1.5 should be a safe estimate). If 'mark_end' is true than an extra set of 4 bytes is added to the end of the stream if the input is a multiple of 3 bytes. These bytes are invalid chars and therefore they will stop the decoder thus enabling the caller to decode a stream without actually knowing how much data to expect (if the input is not a multiple of 3 bytes then the extra padding needed to complete the encode 4 bytes will stop the decoding anyway).

static void Kitware.VTK.vtkBase64Utilities.EncodePair ( byte  i0,
byte  i1,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [static]

Encode 2 bytes into 4 bytes.

static void Kitware.VTK.vtkBase64Utilities.EncodeSingle ( byte  i0,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [static]

Encode 1 byte into 4 bytes.

static void Kitware.VTK.vtkBase64Utilities.EncodeTriplet ( byte  i0,
byte  i1,
byte  i2,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [static]

Encode 3 bytes into 4 bytes.

override int Kitware.VTK.vtkBase64Utilities.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkBase64Utilities.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

static internal uint Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_Decode_01 ( IntPtr  input,
uint  length,
IntPtr  output,
uint  max_input_length 
) [private]
static internal int Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_DecodeTriplet_02 ( byte  i0,
byte  i1,
byte  i2,
byte  i3,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2 
) [private]
static internal uint Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_Encode_03 ( IntPtr  input,
uint  length,
IntPtr  output,
int  mark_end 
) [private]
static internal void Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_EncodePair_04 ( byte  i0,
byte  i1,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [private]
static internal void Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_EncodeSingle_05 ( byte  i0,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [private]
static internal void Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_EncodeTriplet_06 ( byte  i0,
byte  i1,
byte  i2,
IntPtr  o0,
IntPtr  o1,
IntPtr  o2,
IntPtr  o3 
) [private]
static internal int Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_IsA_07 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_IsTypeOf_08 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_NewInstance_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBase64Utilities.vtkBase64Utilities_SafeDownCast_11 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkBase64Utilities.MRClassNameKey = "18vtkBase64Utilities" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

new const string Kitware.VTK.vtkBase64Utilities.MRFullTypeName = "Kitware.VTK.vtkBase64Utilities"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


The documentation for this class was generated from the following file: