xdr v0.1.1 XDR.Type.VariableArray View Source
RFC 4506, Section 4.13 - Variable-length Array
Link to this section Summary
Functions
Decodes an fixed array xdr binary by truncating it to the desired length
Encodes a fixed array into a binary
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, type, max \\ 4294967295)
View Source
decode(xdr :: xdr(), type :: module(), max :: max()) :: {:ok, {array :: t(), rest :: XDR.Type.Base.xdr()}} | decode_error()
Decodes an fixed array xdr binary by truncating it to the desired length
Encodes a fixed array into a binary
Determines if a value is a binary of a valid length