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

Unsigned 32-bit integer

Link to this section Summary

Functions

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

Encode the integer or XDR.Type.UnsignedInt struct as a 4-byte binary

Link to this section Types

Link to this type

encoding()

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

t()

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

value()

View Source
value() :: 0..4_294_967_295

Link to this section Functions

Link to this function

decode!(arg1)

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

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

Link to this function

encode(value)

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

Encode the integer or XDR.Type.UnsignedInt struct as a 4-byte binary