Arithmetic Class |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI.Serialization
The Arithmetic type exposes the following members.
| Name | Description | |
|---|---|---|
| CeilingExact(Byte, Byte) | ||
| CeilingExact(Int16, Int16) | ||
| CeilingExact(Int32, Int32) | ||
| CeilingExact(Int64, Int64) | ||
| CeilingExact(SByte, SByte) | ||
| CeilingExact(UInt16, UInt16) | ||
| CeilingExact(UInt32, UInt32) | ||
| CeilingExact(UInt64, UInt64) | ||
| VarIntSize |
Gets the output size in bytes after VarInting a unsigned integer
| |
| ZigZagDecode |
Decides a ZigZag encoded integer back to a signed integer
| |
| ZigZagEncode |
ZigZag encodes a signed integer and maps it to a unsigned integer
|
| Name | Description | |
|---|---|---|
| SIGN_BIT_16 | ||
| SIGN_BIT_32 | ||
| SIGN_BIT_64 | ||
| SIGN_BIT_8 |