Module ubf

Low-level functions for encoding and decoding the UBF(A) protocol.

Description

Low-level functions for encoding and decoding the UBF(A) protocol.

UBF is a family of languages for transporting and describing complex data structures across a network. It has three components. In terms of a protocol stack, UBF(A) is a data transport format, roughly equivalent to well-formed XML.

Quick Summary

UBF(A) is the transport format, it was designed to be easy to parse and to be easy to write with a text editor. UBF(A) is based on a byte encoded virtual machine, 26 byte codes are reserved. Instead of allocating the byte codes from 0 we use the printable character codes to make the format easy to read.

For more information, please see the following:

Hint: Decoding rules

Function Index

deabstract/1
decode/1
decode/2
decode/3
decode_init/0
encode/1
encode/2
proto_driver/0
proto_packet_type/0
proto_vsn/0

Function Details

deabstract/1

deabstract(T) -> any()

decode/1

decode(Str) -> any()

decode/2

decode(Str, Mod) -> any()

decode/3

decode(S, Mod, X3) -> any()

decode_init/0

decode_init() -> any()

encode/1

encode(X) -> any()

encode/2

encode(X, Mod) -> any()

proto_driver/0

proto_driver() -> any()

proto_packet_type/0

proto_packet_type() -> any()

proto_vsn/0

proto_vsn() -> any()


Generated EDoc, $Id$