XDR.Bool (Elixir XDR v0.3.11) View Source
This module manages the Boolean
type based on the RFC4506 XDR Standard.
Link to this section Summary
Functions
Decode the Boolean in XDR format to a XDR.Bool
structure.
Decode the Boolean in XDR format to a XDR.Bool
structure.
If the binary is not a valid boolean, an exception is raised.
Encode a XDR.Bool
structure into a XDR format.
Create a new XDR.Bool
structure from the identifier
passed either false
or true
.
Link to this section Types
Specs
XDR.Bool
struct type specification.
Link to this section Functions
Decode the Boolean in XDR format to a XDR.Bool
structure.
Decode the Boolean in XDR format to a XDR.Bool
structure.
If the binary is not a valid boolean, an exception is raised.
Encode a XDR.Bool
structure into a XDR format.
Encode a XDR.Bool
structure into a XDR format.
If the structure received is not XDR.Bool
or the identifier is not boolean, an exception is raised.
Specs
Create a new XDR.Bool
structure from the identifier
passed either false
or true
.