com/protobytes/buffers/core/buffs library

Classes

BuffBase
一个最基本的buff包
BuffBoolean
Boolean value with a 8-bit integer
BuffByte
A 8-bit signed integer between -128 and 127.
BuffBytes
A bytes from the byte stream. The bytes is assumed to be prefixed with an int indicating the length in bytes.
BuffDouble
A double-precision (64-bit) floating-point number.
BuffFloat
A single-precision (32-bit) floating-point number.
BuffInt
A 32-bit signed integer between -2147483648 and 2147483647.
BuffInt64
A 64-bit signed integer between -9223372036854775808 and 9223372036854775807.
BuffList
数组,2个字节无符号短整型表示长度+长度这么多个项
BuffLongString
A UTF-8 string from the byte stream. The string is assumed to be prefixed with an int indicating the length in bytes.
BuffObject
对象,2个字节无符号短整型表示长度+长度这么多个属性
BuffShort
A 16-bit signed integer between -32768 and 32767.
BuffString
A UTF-8 string from the byte stream. The string is assumed to be prefixed with an unsigned short indicating the length in bytes.
BuffUByte
A 8-bit unsigned integer between 0 and 255.
BuffUInt
A 32-bit unsigned integer between 0 and 4294967295.
BuffUShort
A 16-bit unsigned integer between 0 and 65535.