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