XDR kommit v0.1.0 XDR.Declaration behaviour View Source

Behaviour definition that is in charge of keeping the types declared by the RFC4506 standard with these specifications

Link to this section Summary

Link to this section Callbacks

Link to this callback

decode_xdr(binary, term)

View Source

Specs

decode_xdr(binary(), term()) :: {:ok, {term(), binary()}} | XDR.Error.t()
Link to this callback

decode_xdr!(binary, term)

View Source

Specs

decode_xdr!(binary(), term()) :: {term(), binary()} | XDR.Error.t()

Specs

encode_xdr(struct()) :: {:ok, binary()} | XDR.Error.t()

Specs

encode_xdr!(struct()) :: binary() | XDR.Error.t()