Packages

builtin
cbindgen
core
core.alloc
core.alloc.arena
core.alloc.atomic
core.alloc.debug
core.alloc.fixed
core.alloc.gc
core.alloc.heap
core.alloc.log
core.alloc.memwatch
core.alloc.pool
core.alloc.ring
core.arg_parse
core.array
core.avl_tree
core.bucket_array
core.conv
core.crypto
core.crypto.keys
core.doc
core.encoding
core.encoding.base64
core.encoding.csv
core.encoding.hex
core.encoding.json
core.encoding.kdl
core.encoding.osad
core.encoding.utf8
core.encoding.xml
core.hash
core.hash.md5
core.hash.sha1
core.hash.sha256
core.heap
core.intrinsics
core.intrinsics.atomics
core.intrinsics.onyx
core.intrinsics.types
core.intrinsics.wasm
core.io
core.io.binary
core.iter
core.js
core.list
core.map
core.math
core.memory
core.misc
core.net
core.os
core.random
core.set
core.slice
core.string
core.sync
core.test
core.thread
core.time
main
runtime
runtime.info
runtime.platform
runtime.vars
simd

package core.io.binary

BinaryReader
BinaryReader :: struct {
    data: [] u8
    pos: u32
}
create_reader
create_reader :: (data: [] u8, initial_pos: i32) -> BinaryReader
read_2dot14
read_2dot14 :: (br: &BinaryReader) -> f32
read_date
read_date :: (br: &BinaryReader) -> u64
read_fixed
read_fixed :: (br: &BinaryReader) -> f32
read_fword
read_fword :: (br: &BinaryReader) -> i16
read_i16
read_i16 :: (br: &BinaryReader) -> i16
read_i32
read_i32 :: (br: &BinaryReader) -> i32
read_string
read_string :: (br: &BinaryReader, len: i32) -> [] u8
read_u16
read_u16 :: (br: &BinaryReader) -> u16
read_u32
read_u32 :: (br: &BinaryReader) -> u32
read_u8
read_u8 :: (br: &BinaryReader) -> u8
seek
seek :: (br: &BinaryReader, new_pos: u32) -> u32
tell
tell :: (br: &BinaryReader) -> u32