ValBytes¶
Tries to catch both Array[U8] val and ByteArrays in order to define ByteArrays as possibly recursive tree structure.
interface val ValBytes is
ReadSeq[U8 val] box,
Trimmable[U8 val] val,
CopyToable[U8 val] ref,
ReadAsNumerics val
Implements¶
- ReadSeq[U8 val] box
- Trimmable[U8 val] val
- CopyToable[U8 val] ref
- ReadAsNumerics val
Public Functions¶
size¶
Returns¶
- USize val
apply¶
Parameters¶
- i: USize val
Returns¶
- U8 val ?
values¶
Returns¶
trim¶
Parameters¶
Returns¶
copy_to¶
fun box copy_to(
dst: Array[U8 val] ref,
src_idx: USize val,
dst_idx: USize val,
len: USize val)
: None val
Parameters¶
Returns¶
- None val
read_u8[optional B: U8 val]¶
Parameters¶
- offset: USize val
Returns¶
- U8 val ?
read_u16[optional B: U8 val]¶
Parameters¶
- offset: USize val
Returns¶
- U16 val ?
read_u32[optional B: U8 val]¶
Parameters¶
- offset: USize val
Returns¶
- U32 val ?
read_u64[optional B: U8 val]¶
Parameters¶
- offset: USize val
Returns¶
- U64 val ?
read_u128[optional B: U8 val]¶
Parameters¶
- offset: USize val
Returns¶
- U128 val ?