Elixir XDR v0.1.1 XDR.Type.UnsignedHyperInt View Source

Unsigned 64-bit integer

Link to this section Summary

Functions

Decode the first 8 bytes of the binary as an unsigned int and return the value along with the remaining binary in a tuple

Encode the given unsigned integer or struct as an 8-byte binary

Link to this section Types

Link to this type

encoding()

View Source
encoding() :: <<_::64>>
Link to this type

t()

View Source
t() :: %XDR.Type.UnsignedHyperInt{type_name: String.t(), value: value()}
Link to this type

value()

View Source
value() :: 0..18_446_744_073_709_551_615

Link to this section Functions

Link to this function

decode!(arg1)

View Source
decode!(<<_::64, _::_*8>>) :: {value(), binary()}

Decode the first 8 bytes of the binary as an unsigned int and return the value along with the remaining binary in a tuple

Link to this function

encode(value)

View Source
encode(value() | t()) :: encoding()

Encode the given unsigned integer or struct as an 8-byte binary