Skip to content

U64LE

[Source]

Read or write a 64-bit unsigned integer in little-endian byte order.

primitive val U64LE is
  Codec[U64 val] val

Implements


Constructors

create

[Source]

new val create()
: U64LE val^

Returns


Public Functions

decode

[Source]

Decode a 64-bit unsigned integer in little-endian byte order.

fun box decode(
  data: Array[U8 val] val,
  offset: USize val)
: ((U64 val , USize val) | DecodeError)

Parameters

Returns


encode

[Source]

fun box encode(
  value: U64 val)
: (Array[U8 val] val | EncodeError)

Parameters

  • value: U64 val

Returns


eq

[Source]

fun box eq(
  that: U64LE val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: U64LE val)
: Bool val

Parameters

Returns