Elixir XDR v0.1.1 API Reference
Modules
Basic XDR usage
Provides the ability to predefine and precompile specific XDR types for your application.
XDR encodings sometimes require padding. This module includes some helper functions to do those calculations.
Size utilities for various types
A fixed-length array of some other type
Boolean values are presented in Elixir as true / false and encoded as 1 / 0
Const: not really an XDR data type, but they can be declared the same way
A custom type is referenced by its name, as a bit string / binary
Double-precision (32 bit) floating-point number
Enum
Single-precision (32 bit) floating-point number
Signed 64-bit integer
Signed 32-bit integer
Fixed-length binary data
Optional
Variable-length ASCII data This is almost the same as VariableOpaque, except the requirement that bytes be in the ASCII range
Struct with each atom key pointing to an XDR type of its own
A Union is a polymorphic type. It has a switch of type enum or int, whose value determines the type of the union's data.
Unsigned 64-bit integer
Unsigned 32-bit integer
A variable-length array of some other type
Variable-length binary data
Void