xdr v0.1.2 XDR.Type.Bool View Source
RFC 4506, Section 4.4 - Boolean
Link to this section Summary
Functions
Decodes an XDR binary to a native type, also returns any un-decoded binary
Encodes a native type to an XDR binary
Returns the expected length (in bytes) of an XDR-encoded binary of this type (sans padding)
Returns the input if it’s a valid XDR module native type, or the default valid native type
Determines if a value is a valid XDR type
Link to this section Types
Link to this section Functions
Decodes an XDR binary to a native type, also returns any un-decoded binary
Callback implementation for XDR.Type.Base.decode/1
.
Encodes a native type to an XDR binary
Callback implementation for XDR.Type.Base.encode/1
.
Returns the expected length (in bytes) of an XDR-encoded binary of this type (sans padding)
Callback implementation for XDR.Type.Base.length/0
.
Returns the input if it’s a valid XDR module native type, or the default valid native type
Callback implementation for XDR.Type.Base.new/1
.
Determines if a value is a valid XDR type
Callback implementation for XDR.Type.Base.valid?/1
.