Method | Description | |
---|---|---|
CompactSerializer ( System stream ) : System | ||
ReadBinary ( ) : byte[] | ||
ReadBool ( ) : System.Boolean | ||
ReadByte ( ) : byte | ||
ReadDataObjectBegin ( ) : |
||
ReadDataObjectEnd ( ) : void | ||
ReadDouble ( ) : double | ||
ReadFieldBegin ( ) : |
||
ReadFieldEnd ( ) : void | ||
ReadI16 ( ) : short | ||
ReadI32 ( ) : int | ||
ReadI64 ( ) : long | ||
ReadListBegin ( ) : |
||
ReadListEnd ( ) : void | ||
ReadMapBegin ( ) : |
||
ReadMapEnd ( ) : void | ||
ReadString ( ) : String | ||
WriteBinary ( byte bin ) : void | ||
WriteBool ( System.Boolean b ) : void | ||
WriteByte ( byte b ) : void | ||
WriteDataObjectBegin ( |
||
WriteDataObjectEnd ( ) : void | ||
WriteDouble ( double dub ) : void | ||
WriteFieldBegin ( |
||
WriteFieldEnd ( ) : void | ||
WriteFieldStop ( ) : void | ||
WriteI16 ( short i16 ) : void | ||
WriteI32 ( int i32 ) : void | ||
WriteI64 ( long i64 ) : void | ||
WriteListBegin ( |
||
WriteListEnd ( ) : void | ||
WriteMapBegin ( |
||
WriteMapEnd ( ) : void | ||
WriteString ( String str ) : void | ||
reset ( ) : void |
Method | Description | |
---|---|---|
WriteCollectionBegin ( DataType elemType, int size ) : void |
Method | Description | |
---|---|---|
ReadBinary ( int length ) : byte[] | ||
ReadVarint32 ( ) : uint | ||
ReadVarint64 ( ) : ulong | ||
WriteBinary ( byte buf, int offset, int length ) : void | ||
WriteByteDirect ( byte b ) : void | ||
WriteByteDirect ( int n ) : void | ||
WriteFieldBeginInternal ( |
||
WriteVarint32 ( uint n ) : void | ||
WriteVarint64 ( ulong n ) : void | ||
bytesToLong ( byte bytes ) : long | ||
fixedLongToBytes ( long n, byte buf, int off ) : void | ||
getCompactType ( DataType ttype ) : byte | ||
getTType ( byte type ) : DataType | ||
intToZigZag ( int n ) : uint | ||
isBoolType ( byte b ) : System.Boolean | ||
longToZigzag ( long n ) : ulong | ||
zigzagToInt ( uint n ) : int | ||
zigzagToLong ( ulong n ) : long |
public CompactSerializer ( System stream ) : System | ||
stream | System | |
return | System |
protected WriteCollectionBegin ( DataType elemType, int size ) : void | ||
elemType | DataType | |
size | int | |
return | void |
public WriteDataObjectBegin ( |
||
strct | ||
return | void |
public WriteFieldBegin ( |
||
field | ||
return | void |