XDR kommit v0.1.0 XDR.Optional View Source
This module is in charge of process the Optional data types based on the RFC4506 XDR Standard
Link to this section Summary
Functions
Decode Optional types
Decode Optional types
Encode Optional types
Encode Optional types
This function provides an easy way to create a new Optional type
Link to this section Types
Specs
t() :: %XDR.Optional{type: nil | any()}
Every optional type contains the type of the data to process
Link to this section Functions
Specs
Decode Optional types
returns an :ok tuple with the decoded type
Specs
Decode Optional types
returns the decoded type
Specs
Encode Optional types
returns an :ok tuple with the encoded XDR
Specs
Encode Optional types
returns the encoded XDR
Specs
This function provides an easy way to create a new Optional type