xdr v0.1.1 XDR.Type.Void View Source
RFC 4506, Section 4.16 - Void
Link to this section Summary
Functions
Decodes an empty binary to nil
Encodes nil to an empty binary
Returns the input if it’s a valid XDR module native type, or the default valid native type
Determines if value is nil or not
Link to this section Types
Void type
Link to this section Functions
Link to this function
decode(arg1)
View Source
decode(xdr :: <<_::0>>) :: {:ok, {native :: t(), rest :: XDR.Type.Base.xdr()}} | {:error, :invalid}
Decodes an empty binary to nil
Encodes nil to an empty binary
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 value is nil or not