Skip to content

ReadAsNumerics

[Source]

Read multi-byte unsigned integers at a byte offset.

interface val ReadAsNumerics

Public Functions

read_u8[optional B: U8 val]

[Source]

Read a U8 at the given byte offset.

fun box read_u8[optional B: U8 val](
  offset: USize val)
: U8 val ?

Parameters

Returns

  • U8 val ?

read_u16[optional B: U8 val]

[Source]

Read a little-endian U16 at the given byte offset.

fun box read_u16[optional B: U8 val](
  offset: USize val)
: U16 val ?

Parameters

Returns


read_u32[optional B: U8 val]

[Source]

Read a little-endian U32 at the given byte offset.

fun box read_u32[optional B: U8 val](
  offset: USize val)
: U32 val ?

Parameters

Returns


read_u64[optional B: U8 val]

[Source]

Read a little-endian U64 at the given byte offset.

fun box read_u64[optional B: U8 val](
  offset: USize val)
: U64 val ?

Parameters

Returns


read_u128[optional B: U8 val]

[Source]

Read a little-endian U128 at the given byte offset.

fun box read_u128[optional B: U8 val](
  offset: USize val)
: U128 val ?

Parameters

Returns