luxe: bytes
import "luxe: bytes" for Byterno docs found
Byter.pos
Section titled “Byter.pos”Byter.pos : unknownno docs found
Byter.inner
Section titled “Byter.inner”Byter.inner : unknownno docs found
Byter.new(.)
Section titled “Byter.new(.)”Byter.new(size : Any) : Byterno docs found
Byter.bytes(.)
Section titled “Byter.bytes(.)”Byter.bytes() : unknownno docs found
Byter.write_string(.)
Section titled “Byter.write_string(.)”Byter.write_string(string : Any) : unknownno docs found
Byter.write_string(..)
Section titled “Byter.write_string(..)”Byter.write_string(string : Any, length : Any) : unknownno docs found
Byter.write_string_aligned4(.)
Section titled “Byter.write_string_aligned4(.)”Byter.write_string_aligned4(string : Any) : unknownno docs found
Byter.write_string_aligned4(..)
Section titled “Byter.write_string_aligned4(..)”Byter.write_string_aligned4(string : Any, length : Any) : unknownno docs found
Byter.write_int8(.)
Section titled “Byter.write_int8(.)”Byter.write_int8(value : Any) : unknownno docs found
Byter.write_uint8(.)
Section titled “Byter.write_uint8(.)”Byter.write_uint8(value : Any) : unknownno docs found
Byter.write_int16(.)
Section titled “Byter.write_int16(.)”Byter.write_int16(value : Any) : unknownno docs found
Byter.write_int32(.)
Section titled “Byter.write_int32(.)”Byter.write_int32(value : Any) : unknownno docs found
Byter.write_int64(.)
Section titled “Byter.write_int64(.)”Byter.write_int64(value : Any) : unknownno docs found
Byter.write_uint16(.)
Section titled “Byter.write_uint16(.)”Byter.write_uint16(value : Any) : unknownno docs found
Byter.write_uint32(.)
Section titled “Byter.write_uint32(.)”Byter.write_uint32(value : Any) : unknownno docs found
Byter.write_uint64(.)
Section titled “Byter.write_uint64(.)”Byter.write_uint64(value : Any) : unknownno docs found
Byter.write_float32(.)
Section titled “Byter.write_float32(.)”Byter.write_float32(value : Any) : unknownno docs found
Byter.write_float64(.)
Section titled “Byter.write_float64(.)”Byter.write_float64(value : Any) : unknownno docs found
Byter.write_uuid(.)
Section titled “Byter.write_uuid(.)”Byter.write_uuid(uuid : Any) : unknownno docs found
import "luxe: bytes" for Bytesno docs found
Bytes.new(.)
Section titled “Bytes.new(.)”Bytes.new(elements : Any) : Bytesno docs found
Bytes.length
Section titled “Bytes.length”Bytes.length : unknownno docs found
Bytes [index : Any] : unknownno docs found
Bytes [index : Any]=(value : Any) : unknownno docs found
Bytes.from_string(.)
Section titled “Bytes.from_string(.)”Bytes.from_string(string : Any) : unknownno docs found
Bytes.set_from(.)
Section titled “Bytes.set_from(.)”Bytes.set_from(other : Any) : unknownno docs found
Bytes.copy(…)
Section titled “Bytes.copy(…)”Bytes.copy(other : Any, at : Any, length : Any) : unknownno docs found
Bytes.copy(…)
Section titled “Bytes.copy(…)”Bytes.copy(other : Any, to : Any, from : Any, length : Any) : unknownno docs found
Bytes.set_string(..)
Section titled “Bytes.set_string(..)”Bytes.set_string(at : Any, value : Any) : unknownno docs found
Bytes.set_string(…)
Section titled “Bytes.set_string(…)”Bytes.set_string(at : Any, value : Any, length : Any) : unknownno docs found
Bytes.get_string(..)
Section titled “Bytes.get_string(..)”Bytes.get_string(at : Any, length : Any) : unknownno docs found
Bytes.set_int8(..)
Section titled “Bytes.set_int8(..)”Bytes.set_int8(at : Any, value : Any) : unknownno docs found
Bytes.set_int16(..)
Section titled “Bytes.set_int16(..)”Bytes.set_int16(at : Any, value : Any) : unknownno docs found
Bytes.set_int32(..)
Section titled “Bytes.set_int32(..)”Bytes.set_int32(at : Any, value : Any) : unknownno docs found
Bytes.set_int64(..)
Section titled “Bytes.set_int64(..)”Bytes.set_int64(at : Any, value : Any) : unknownno docs found
Bytes.set_uint8(..)
Section titled “Bytes.set_uint8(..)”Bytes.set_uint8(at : Any, value : Any) : unknownno docs found
Bytes.set_uint16(..)
Section titled “Bytes.set_uint16(..)”Bytes.set_uint16(at : Any, value : Any) : unknownno docs found
Bytes.set_uint32(..)
Section titled “Bytes.set_uint32(..)”Bytes.set_uint32(at : Any, value : Any) : unknownno docs found
Bytes.set_uint64(..)
Section titled “Bytes.set_uint64(..)”Bytes.set_uint64(at : Any, value : Any) : unknownno docs found
Bytes.set_float32(..)
Section titled “Bytes.set_float32(..)”Bytes.set_float32(at : Any, value : Any) : unknownno docs found
Bytes.set_float64(..)
Section titled “Bytes.set_float64(..)”Bytes.set_float64(at : Any, value : Any) : unknownno docs found
Bytes.get_int8(.)
Section titled “Bytes.get_int8(.)”Bytes.get_int8(at : Any) : unknownno docs found
Bytes.get_int16(.)
Section titled “Bytes.get_int16(.)”Bytes.get_int16(at : Any) : unknownno docs found
Bytes.get_int32(.)
Section titled “Bytes.get_int32(.)”Bytes.get_int32(at : Any) : unknownno docs found
Bytes.get_int64(.)
Section titled “Bytes.get_int64(.)”Bytes.get_int64(at : Any) : unknownno docs found
Bytes.get_uint8(.)
Section titled “Bytes.get_uint8(.)”Bytes.get_uint8(at : Any) : unknownno docs found
Bytes.get_uint16(.)
Section titled “Bytes.get_uint16(.)”Bytes.get_uint16(at : Any) : unknownno docs found
Bytes.get_uint32(.)
Section titled “Bytes.get_uint32(.)”Bytes.get_uint32(at : Any) : unknownno docs found
Bytes.get_uint64(.)
Section titled “Bytes.get_uint64(.)”Bytes.get_uint64(at : Any) : unknownno docs found
Bytes.get_float32(.)
Section titled “Bytes.get_float32(.)”Bytes.get_float32(at : Any) : unknownno docs found
Bytes.get_float64(.)
Section titled “Bytes.get_float64(.)”Bytes.get_float64(at : Any) : unknownno docs found
Bytes.get(.)
Section titled “Bytes.get(.)”Bytes.get(at : Any) : unknownno docs found
Bytes.set(..)
Section titled “Bytes.set(..)”Bytes.set(at : Any, value : Any) : unknownno docs found
Bytes.bytes(.)
Section titled “Bytes.bytes(.)”Bytes.bytes() : unknownno docs found
Bytes.clear(.)
Section titled “Bytes.clear(.)”Bytes.clear() : unknownno docs found
Bytes.padding(..)
Section titled “Bytes.padding(..)”Bytes.padding(length : Any, align : Any) : unknownno docs found
Bytes.padding(.)
Section titled “Bytes.padding(.)”Bytes.padding(length : Any) : unknownno docs found
Bytes.iterate(.)
Section titled “Bytes.iterate(.)”Bytes.iterate(iter : Any) : unknownno docs found
Bytes.iteratorValue(.)
Section titled “Bytes.iteratorValue(.)”Bytes.iteratorValue(iter : Any) : unknownno docs found
BytesReader
Section titled “BytesReader”import "luxe: bytes" for BytesReaderno docs found
BytesReader.pos
Section titled “BytesReader.pos”BytesReader.pos : unknownno docs found
BytesReader.pos
Section titled “BytesReader.pos”BytesReader.pos=(v : Any) : unknownno docs found
BytesReader.bytes
Section titled “BytesReader.bytes”BytesReader.bytes : unknownno docs found
BytesReader.new(.)
Section titled “BytesReader.new(.)”BytesReader.new(source_bytes : Any) : BytesReaderno docs found
BytesReader.from_string(.)
Section titled “BytesReader.from_string(.)”BytesReader.from_string(string : Any) : unknownno docs found
BytesReader.skip(.)
Section titled “BytesReader.skip(.)”BytesReader.skip(count : Any) : unknownno docs found
BytesReader.check_bounds(.)
Section titled “BytesReader.check_bounds(.)”BytesReader.check_bounds(to_read : Any) : unknownno docs found
BytesReader.get_string(.)
Section titled “BytesReader.get_string(.)”BytesReader.get_string(length : Any) : unknownno docs found
BytesReader.get_int8(.)
Section titled “BytesReader.get_int8(.)”BytesReader.get_int8() : unknownno docs found
BytesReader.get_int16(.)
Section titled “BytesReader.get_int16(.)”BytesReader.get_int16() : unknownno docs found
BytesReader.get_int32(.)
Section titled “BytesReader.get_int32(.)”BytesReader.get_int32() : unknownno docs found
BytesReader.get_int64(.)
Section titled “BytesReader.get_int64(.)”BytesReader.get_int64() : unknownno docs found
BytesReader.get_uint8(.)
Section titled “BytesReader.get_uint8(.)”BytesReader.get_uint8() : unknownno docs found
BytesReader.get_uint16(.)
Section titled “BytesReader.get_uint16(.)”BytesReader.get_uint16() : unknownno docs found
BytesReader.get_uint32(.)
Section titled “BytesReader.get_uint32(.)”BytesReader.get_uint32() : unknownno docs found
BytesReader.get_uint64(.)
Section titled “BytesReader.get_uint64(.)”BytesReader.get_uint64() : unknownno docs found
BytesReader.get_float32(.)
Section titled “BytesReader.get_float32(.)”BytesReader.get_float32() : unknownno docs found
BytesReader.get_float64(.)
Section titled “BytesReader.get_float64(.)”BytesReader.get_float64() : unknownno docs found
BytesWriter
Section titled “BytesWriter”import "luxe: bytes" for BytesWriterno docs found
BytesWriter.pos
Section titled “BytesWriter.pos”BytesWriter.pos : Numno docs found
BytesWriter.pos
Section titled “BytesWriter.pos”BytesWriter.pos=(v : Num) : unknownno docs found
BytesWriter.count
Section titled “BytesWriter.count”BytesWriter.count : Numno docs found
BytesWriter.capacity
Section titled “BytesWriter.capacity”BytesWriter.capacity : Numno docs found
BytesWriter.bytes
Section titled “BytesWriter.bytes”BytesWriter.bytes : Stringno docs found
BytesWriter.inner
Section titled “BytesWriter.inner”BytesWriter.inner : Bytesno docs found
BytesWriter.new(.)
Section titled “BytesWriter.new(.)”BytesWriter.new(initial_length : Num) : BytesWriterno docs found
BytesWriter.resize(.)
Section titled “BytesWriter.resize(.)”BytesWriter.resize(new_capacity : Num) : Noneno docs found
BytesWriter.ensure(.)
Section titled “BytesWriter.ensure(.)”BytesWriter.ensure(write_length : Num) : Noneno docs found
BytesWriter.write_string(..)
Section titled “BytesWriter.write_string(..)”BytesWriter.write_string(string : String, length : Num) : Noneno docs found
BytesWriter.write_string(.)
Section titled “BytesWriter.write_string(.)”BytesWriter.write_string(string : String) : Noneno docs found
BytesWriter.write_string_aligned4(..)
Section titled “BytesWriter.write_string_aligned4(..)”BytesWriter.write_string_aligned4(string : String, length : Num) : Noneno docs found
BytesWriter.write_string_aligned4(.)
Section titled “BytesWriter.write_string_aligned4(.)”BytesWriter.write_string_aligned4(string : String) : Noneno docs found
BytesWriter.write_string_and_length(..)
Section titled “BytesWriter.write_string_and_length(..)”BytesWriter.write_string_and_length(string : String, length : Num) : Noneno docs found
BytesWriter.write_string_and_length(.)
Section titled “BytesWriter.write_string_and_length(.)”BytesWriter.write_string_and_length(string : String) : Noneno docs found
BytesWriter.write_int8(.)
Section titled “BytesWriter.write_int8(.)”BytesWriter.write_int8(value : Num) : Noneno docs found
BytesWriter.write_uint8(.)
Section titled “BytesWriter.write_uint8(.)”BytesWriter.write_uint8(value : Num) : Noneno docs found
BytesWriter.write_int16(.)
Section titled “BytesWriter.write_int16(.)”BytesWriter.write_int16(value : Num) : Noneno docs found
BytesWriter.write_int32(.)
Section titled “BytesWriter.write_int32(.)”BytesWriter.write_int32(value : Num) : Noneno docs found
BytesWriter.write_int64(.)
Section titled “BytesWriter.write_int64(.)”BytesWriter.write_int64(value : Num) : Noneno docs found
BytesWriter.write_uint16(.)
Section titled “BytesWriter.write_uint16(.)”BytesWriter.write_uint16(value : Num) : Noneno docs found
BytesWriter.write_uint32(.)
Section titled “BytesWriter.write_uint32(.)”BytesWriter.write_uint32(value : Num) : Noneno docs found
BytesWriter.write_uint64(.)
Section titled “BytesWriter.write_uint64(.)”BytesWriter.write_uint64(value : Num) : Noneno docs found
BytesWriter.write_float32(.)
Section titled “BytesWriter.write_float32(.)”BytesWriter.write_float32(value : Num) : Noneno docs found
BytesWriter.write_float64(.)
Section titled “BytesWriter.write_float64(.)”BytesWriter.write_float64(value : Num) : Noneno docs found
BytesWriter.write_uuid(.)
Section titled “BytesWriter.write_uuid(.)”BytesWriter.write_uuid(uuid : String) : Noneno docs found
Floats
Section titled “Floats”import "luxe: bytes" for Floatsno docs found
Floats.new(.)
Section titled “Floats.new(.)”Floats.new(elements : Any) : FloatsCreate a new Floats instance that can store the amount of elements specified.
Floats.length
Section titled “Floats.length”Floats.length : unknownGet the size of the array in bytes. Since a float is 4 bytes, this should always be
value.size * 4.
Floats.capacity
Section titled “Floats.capacity”Floats.capacity : unknownGet the capacity of the underlying array. When resizing up to this amount of elements, the array does not need to be reallocated. You can ignore this most of the time.
Floats.size
Section titled “Floats.size”Floats.size : unknownGet the amount of elements in the array.
Floats [index : Any] : unknownGet the float value at a specific index.
Floats [index : Any]=(value : Any) : unknownSet the float value at a specific index.
Floats.resize(.)
Section titled “Floats.resize(.)”Floats.resize(elements : Any) : unknownResize array to new size.
Floats.get(.)
Section titled “Floats.get(.)”Floats.get(at : Any) : unknownGet the float value at a specific index.
Floats.set(..)
Section titled “Floats.set(..)”Floats.set(at : Any, value : Any) : unknownSet the float value at a specific index.
Floats.set(…)
Section titled “Floats.set(…)”Floats.set(list : Any, at : Any, list_offset : Any, count : Any) : unknownCopy a part of a list into this array. This will grow the array if nessecary.
Floats.set(.)
Section titled “Floats.set(.)”Floats.set(list : Any) : unknownSet the array to have the contents of a list. The array will be resized to have the same count as the list
Floats.ortho(…)
Section titled “Floats.ortho(…)”Floats.ortho(left : Any, top : Any, right : Any, bottom : Any, near : Any, far : Any) : unknownMakes the array a 4x4 (16 elements) orthographic projection matrix for camera rendering.
Floats.perspective(…)
Section titled “Floats.perspective(…)”Floats.perspective(fov_vertical : Any, aspect : Any, near : Any, far : Any) : unknownMakes the array a 4x4 (16 elements) perspective projection matrix for camera rendering.
Floats.transform(…)
Section titled “Floats.transform(…)”Floats.transform(px : Any, py : Any, pz : Any, rx : Any, ry : Any, rz : Any, sx : Any, sy : Any, sz : Any) : unknownMakes the array a 4x4 (16 elements) model/transform matrix.
Floats.iterate(.)
Section titled “Floats.iterate(.)”Floats.iterate(iter : Any) : unknownno docs found
Floats.iteratorValue(.)
Section titled “Floats.iteratorValue(.)”Floats.iteratorValue(iter : Any) : unknownno docs found
Uint16
Section titled “Uint16”import "luxe: bytes" for Uint16Tight uint16 array. Handeled internally as a C++ array, but will properly be deallocated by the wren garbage collector.
Uint16.new(.)
Section titled “Uint16.new(.)”Uint16.new(elements : Any) : Uint16Create an array with the requested amount of elements
Uint16.length
Section titled “Uint16.length”Uint16.length : unknownGet the size of the array in bytes. This is twice the amount of elements it can hold since each element takes up 2 bytes.
Uint16 [index : Any] : unknownGet the int value at a specific index.
Uint16 [index : Any]=(value : Any) : unknownSet the int value at a specific index.
Uint16.get(.)
Section titled “Uint16.get(.)”Uint16.get(at : Any) : unknownGet the int value at a specific index.
Uint16.set(..)
Section titled “Uint16.set(..)”Uint16.set(at : Any, value : Any) : unknownSet the int value at a specific index.
Uint16.set(…)
Section titled “Uint16.set(…)”Uint16.set(list : Any, at : Any, list_offset : Any, count : Any) : unknownCopy a part of a list into this array. This will fail if trying to write outside the array bounds.
Uint16.set(.)
Section titled “Uint16.set(.)”Uint16.set(list : Any) : unknownSet the array to have the contents of a list. This will fail if trying to write outside the array bounds and will leave elements unchanged if list is shorter than array.
Uint16.iterate(.)
Section titled “Uint16.iterate(.)”Uint16.iterate(iter : Any) : unknownno docs found
Uint16.iteratorValue(.)
Section titled “Uint16.iteratorValue(.)”Uint16.iteratorValue(iter : Any) : unknownno docs found
Uint32
Section titled “Uint32”import "luxe: bytes" for Uint32Tight uint32 array. Handeled internally as a C++ array, but will properly be deallocated by the wren garbage collector.
Uint32.new(.)
Section titled “Uint32.new(.)”Uint32.new(elements : Any) : Uint32Create an array with the requested amount of elements
Uint32.length
Section titled “Uint32.length”Uint32.length : unknownGet the size of the array in bytes. This is twice the amount of elements it can hold since each element takes up 2 bytes.
Uint32 [index : Any] : unknownGet the int value at a specific index.
Uint32 [index : Any]=(value : Any) : unknownSet the int value at a specific index.
Uint32.get(.)
Section titled “Uint32.get(.)”Uint32.get(at : Any) : unknownGet the int value at a specific index.
Uint32.set(..)
Section titled “Uint32.set(..)”Uint32.set(at : Any, value : Any) : unknownSet the int value at a specific index.
Uint32.set(…)
Section titled “Uint32.set(…)”Uint32.set(list : Any, at : Any, list_offset : Any, count : Any) : unknownCopy a part of a list into this array. This will fail if trying to write outside the array bounds.
Uint32.set(.)
Section titled “Uint32.set(.)”Uint32.set(list : Any) : unknownSet the array to have the contents of a list. This will fail if trying to write outside the array bounds and will leave elements unchanged if list is shorter than array.
Uint32.iterate(.)
Section titled “Uint32.iterate(.)”Uint32.iterate(iter : Any) : unknownno docs found
Uint32.iteratorValue(.)
Section titled “Uint32.iteratorValue(.)”Uint32.iteratorValue(iter : Any) : unknownno docs found