xdr v0.1.1 XDR.Type.FixedOpaque View Source
RFC 4506, Section 4.9 - Fixed-length Opaque data
Link to this section Summary
Functions
Decodes an fixed opaque xdr binary by truncating it to the desired length
Encodes a fixed opaque binary by appending any necessary padding
Determines if a value is a binary of a valid length
Link to this section Types
A binary of any length
Link to this section Functions
Link to this function
decode(xdr, len)
View Source
decode(xdr :: xdr(), len :: len()) :: {:ok, {opaque :: t(), rest :: XDR.Type.Base.xdr()}} | decode_error()
Decodes an fixed opaque xdr binary by truncating it to the desired length
Encodes a fixed opaque binary by appending any necessary padding
Determines if a value is a binary of a valid length