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

Signed 64-bit integer

Link to this section Summary

Functions

Decode the first 8 bytes of the binary as a hyperint and return that value along with the rest of the binary in a tuple

Encode the given integer or XDR.Type.HyperInt 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.HyperInt{type_name: String.t(), value: value()}
Link to this type

value()

View Source
value() :: -9_223_372_036_854_775_808..9_223_372_036_854_775_807

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 a hyperint and return that value along with the rest of the binary in a tuple

Link to this function

encode(value)

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

Encode the given integer or XDR.Type.HyperInt struct as an 8-byte binary