xdr v0.1.1 XDR.Type.Uint View Source
RFC 4506, Section 4.2 - Unsigned Integer
Link to this section Summary
Functions
Decodes a 4-byte binary into an unsigned integer
Encodes an unsigned integer into a 4-byte binary
Determines if a value is a valid 4-byte unsigned integer
Link to this section Types
Integer between 0 and 2^32 - 1
Link to this section Functions
Link to this function
decode(xdr)
View Source
decode(xdr :: xdr()) :: {:ok, {uint :: t(), rest :: XDR.Type.Base.xdr()}} | {:error, :invalid}
Decodes a 4-byte binary into an unsigned integer
Encodes an unsigned integer into a 4-byte binary
Determines if a value is a valid 4-byte unsigned integer