ObjectType:binary
Jump to navigation
Jump to search
Description
Members
- uint Size: Size of the buffer
- intptr Int[#]: An int at byte position # of this buffer
- byteptr Byte[#]: A byte at position # of this buffer
- floatptr Float[#]: A float at byte position # of this buffer
- int64ptr Int64[#]: An int64 at byte position # of this buffer
- string String[#]: A string at byte position # of this buffer. NULL if the string is not null-terminated within the size of the buffer
- uintptr Uint[#]: A uint at byte position # of this buffer
- boolptr Bool[#]: A bool at byte position # of this buffer
Methods
- Resize[#]: Resizes the buffer to this many bytes. Minimum 1, maximum 4194304 (4MB) -- if you need larger for some reason, please let us know. This is a sanity check
- Copy[buffer,#]: Copies # bytes from another buffer to position 1 of this buffer
Returns
Same as Size