XDR.Optional (Elixir XDR v0.3.11) View Source
This module manages the Optional-Data
type based on the RFC4506 XDR Standard.
Link to this section Summary
Types
XDR.Optional
structure type specification.
Functions
Decode the Optional-Data in XDR format to a XDR.Optional
structure.
Decode the Optional-Data in XDR format to a XDR.Optional
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.Optional
structure into a XDR format.
Encode a XDR.Optional
structure into a XDR format.
If the optional
is not valid, an exception is raised.
Create a new XDR.Optional
structure with the type
passed.
Link to this section Types
Specs
t() :: %XDR.Optional{type: any()}
XDR.Optional
structure type specification.
Link to this section Functions
Decode the Optional-Data in XDR format to a XDR.Optional
structure.
Decode the Optional-Data in XDR format to a XDR.Optional
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.Optional
structure into a XDR format.
Encode a XDR.Optional
structure into a XDR format.
If the optional
is not valid, an exception is raised.
Specs
Create a new XDR.Optional
structure with the type
passed.