Skip to content

U128BE

[Source]

Read or write a 128-bit unsigned integer in big-endian byte order.

primitive val U128BE is
  Codec[U128 val] val

Implements


Constructors

create

[Source]

new val create()
: U128BE val^

Returns


Public Functions

decode

[Source]

Decode a 128-bit unsigned integer in big-endian byte order.

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

Parameters

Returns


encode

[Source]

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

Parameters

Returns


eq

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns