Encoding7Bit Class

Defines 7-bit encoding functions.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.175 -- Release Build+70cfebd19f80455d07e1cf93607e59f6af0e38f4
public static class Encoding7Bit
Inheritance
Object    Encoding7Bit

Methods

GetSize(UInt32) Gets the number of bytes required to write the provided value.
GetSize(UInt64) Gets the number of bytes required to write the provided value.
GetSizeInt15 Gets the number of bytes required to write the provided value.
Measure15(Byte*, Int32) Gets the number of bytes for the supplied value in the stream.
Measure15(Byte, Int32) Gets the number of bytes for the supplied value in the stream.
MeasureInt15 Gets the number of bytes for the supplied value in the stream.
MeasureUInt32(Byte*) Gets the number of bytes for the supplied value in the stream.
MeasureUInt32(Byte*, Int32) Gets the number of bytes for the supplied value in the stream.
MeasureUInt32(Byte, Int32) Gets the number of bytes for the supplied value in the stream.
MeasureUInt64(Byte*) Gets the number of bytes for the supplied value in the stream.
MeasureUInt64(Byte*, Int32) Gets the number of bytes for the supplied value in the stream.
MeasureUInt64(Byte, Int32) Gets the number of bytes for the supplied value in the stream.
ReadInt15(FuncByte) Reads a 7-bit encoded short.
ReadInt15(Stream) Reads a 7-bit encoded short.
ReadInt15(Byte*, Int32) Reads a 7-bit encoded short.
ReadInt15(Byte, Int32) Reads a 7-bit encoded short.
ReadUInt32(FuncByte) Reads a 7-bit encoded uint.
ReadUInt32(Stream) Reads a 7-bit encoded uint.
ReadUInt32(Byte*, Int32) Reads a 7-bit encoded uint.
ReadUInt32(Byte, Int32) Reads a 7-bit encoded uint.
ReadUInt64(FuncByte) Reads a 7-bit encoded ulong.
ReadUInt64(Stream) Reads a 7-bit encoded ulong.
ReadUInt64(Byte*, Int32) Reads a 7-bit encoded ulong.
ReadUInt64(Byte, Int32) Reads a 7-bit encoded ulong.
Write(ActionByte, UInt32) Writes the 7-bit encoded value to the provided stream.
Write(ActionByte, UInt64) Writes the 7-bit encoded value to the provided stream.
Write(Byte*, UInt32) Writes the 7-bit encoded value to the provided stream.
Write(Byte*, UInt64) Writes the 7-bit encoded value to the provided stream.
Write(Byte*, Int32, UInt32) Writes the 7-bit encoded value to the provided stream.
Write(Byte*, Int32, UInt64) Writes the 7-bit encoded value to the provided stream.
Write(Byte, Int32, UInt32) Writes the 7-bit encoded value to the provided stream.
Write(Byte, Int32, UInt64) Writes the 7-bit encoded value to the provided stream.
WriteInt15(ActionByte, Int16) Writes the 7-bit encoded value to the provided stream.
WriteInt15(Byte*, Int16) Writes the 7-bit encoded value to the provided stream.
WriteInt15(Byte*, Int32, Int16) Writes the 7-bit encoded value to the provided stream.
WriteInt15(Byte, Int32, Int16) Writes the 7-bit encoded value to the provided stream.

See Also