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