跳到主要内容
版本:Next

ReadyM.Api.Serialization

Classes​

VarUIntExtensions

Writes and reads a uint in the compact VarUInt encoding.

VarUShortExtensions

Writes and reads a ushort in the compact VarUShort encoding.

Structs​

VarUInt

Variable-length unsigned integer. Most significant bit of each byte is used as a continuation flag. The remaining 7 bits are used to store the value.

VarUShort

Variable-length unsigned short. Most significant bit of each byte is used as a continuation flag. The remaining 7 bits are used to store the value.

Enums​

SerializableMode

Defines how a struct should be serialized when using [DeriveINetSerializable].