tagion.hibon.HiBONBase

Undocumented in source.

Members

Enums

Type
enum Type

HiBON Type codes

Functions

binwrite
void binwrite(AppendBuffer buffer, T value)

Helper function to serialize a HiBON

buildKey
void buildKey(AppendBuffer buffer, Type type, Key key)

Helper function to serialize an array of the type T of a HiBON

isArray
bool isArray(R keys)

Check if all the keys in range is indices and are consecutive

isHiBONBaseType
bool isHiBONBaseType(Type type)
isNative
bool isNative(Type type)
isNativeArray
bool isNativeArray(Type type)
isValidType
bool isValidType(Type type)
is_index
bool is_index(const(char[]) a, uint result)

Converts from a text to a index

is_key_ordered
bool is_key_ordered(R range)

Checks if the keys in the range is ordred

is_key_valid
bool is_key_valid(const(char[]) a)
less_than
bool less_than(string a, string b)

This function decides the order of the HiBON keys

Templates

TypedefBase
template TypedefBase(T)

Converts to the HiBON TypedefType except for sdt_t

Unions

ValueT
union ValueT(bool NATIVE = false, HiBON, Document)

HiBON Generic value used by the HiBON class and the Document struct