Available primitive types
ByteNet provides a large amount of "primitive" types for you to build more complex types that suit your game. Since primitive types don't need any parameters, you can just access them like the following: ByteNet.<typename>
. For building more complex data structures, go look at the Specials page.
Supported general types
string
: Stringbuff
: Bufferbool
: Booleannothing
: Nothingunknown
: Any type
Supported number types
uint8
: Unsigned 8-bit integeruint16
: Unsigned 16-bit integeruint32
: Unsigned 32-bit integerint8
: Signed 8-bit integerint16
: Signed 16-bit integerint32
: Signed 32-bit integerfloat32
: Standard 32-bit floatfloat64
: Standard 64-bit float
Supported Roblox types
cframe
: CoordinateFramevec2
: Vector2vec3
: Vector3inst
: Instance