Elixir XDR v0.1.5 XDR.HyperUInt View Source
This module manages the Unsigned Hyper Integer
type based on the RFC4506 XDR Standard.
Link to this section Summary
Types
XDR.HyperUInt
structure type specification.
Functions
Decode the Unsigned Hyper Integer in XDR format to a XDR.HyperUInt
structure.
Decode the Unsigned Hyper Integer in XDR format to a XDR.HyperUInt
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.HyperUInt
structure into a XDR format.
Encode a XDR.HyperUInt
structure into a XDR format.
If the h_uint
is not valid, an exception is raised.
Create a new XDR.HyperUInt
structure with the opaque
and length
passed.
Link to this section Types
Specs
XDR.HyperUInt
structure type specification.
Link to this section Functions
Specs
Decode the Unsigned Hyper Integer in XDR format to a XDR.HyperUInt
structure.
Specs
Decode the Unsigned Hyper Integer in XDR format to a XDR.HyperUInt
structure.
If the binaries are not valid, an exception is raised.
Specs
encode_xdr(h_uint :: t()) :: {:ok, binary()} | {:error, :not_integer | :exceed_upper_limit | :exceed_lower_limit}
Encode a XDR.HyperUInt
structure into a XDR format.
Specs
Encode a XDR.HyperUInt
structure into a XDR format.
If the h_uint
is not valid, an exception is raised.
Specs
Create a new XDR.HyperUInt
structure with the opaque
and length
passed.