XDR.VariableOpaque (Elixir XDR v0.3.10) View Source
This module manages the Variable-Length Opaque Data
type based on the RFC4506 XDR Standard.
Link to this section Summary
Functions
Decode the Variable-Length Opaque Data in XDR format to a XDR.VariableOpaque
structure.
Decode the Variable-Length Opaque Data in XDR format to a XDR.VariableOpaque
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.VariableOpaque
structure into a XDR format.
Encode a XDR.VariableOpaque
structure into a XDR format.
If the opaque
is not valid, an exception is raised.
Create a new XDR.VariableOpaque
structure with the opaque
and max_size
passed.
Link to this section Types
Specs
opaque() :: binary() | nil
Specs
XDR.VariableOpaque
structure type specification.
Link to this section Functions
Decode the Variable-Length Opaque Data in XDR format to a XDR.VariableOpaque
structure.
Decode the Variable-Length Opaque Data in XDR format to a XDR.VariableOpaque
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.VariableOpaque
structure into a XDR format.
Encode a XDR.VariableOpaque
structure into a XDR format.
If the opaque
is not valid, an exception is raised.
Specs
Create a new XDR.VariableOpaque
structure with the opaque
and max_size
passed.