xdr v0.1.2 XDR.Type.HyperUint View Source
RFC 4506, Section 4.5 - Unsigned Hyper Integer
Link to this section Summary
Functions
Decodes a 8-byte binary into a hyper unsigned integer
Encodes a hyper unsigned integer into an 8-byte binary
Determines if a value is a valid 8-byte hyper unsigned integer
Link to this section Types
Hyper unsigned integer between 0 and 2^64 - 1
Link to this section Functions
Link to this function
decode(xdr)
View Source
decode(xdr :: xdr()) :: {:ok, {hyper_uint :: t(), rest :: XDR.Type.Base.xdr()}} | {:error, :invalid}
Decodes a 8-byte binary into a hyper unsigned integer
Encodes a hyper unsigned integer into an 8-byte binary
Determines if a value is a valid 8-byte hyper unsigned integer