Module il2_iltags::tags::standard::explicit[][src]

Expand description

This module implements all standard explicit tags defined by ILTags Specification.

Structs

This struct implements the standard big decimal tag. This tag serializes the data into a scale value (i32) and the integral part encoded as a two’s complement big endian value.

This struct implements the standard big integer tag. It is equivalent to the ILRawTag but fixes the tag id to IL_BINT_TAG_ID. It assumes that the value is always encoded as a two’s complement big endian value.

This struct implements the standard byte array tag. It is equivalent ILRawTag but always set the tag id to IL_BYTES_TAG_ID.

This struct implements the standard dictionary tag. It maps strings to tags.

This struct implements the standard ILInt array tag. It is an array of u64 values encoded using ILInt format.

This struct implements the standard OID tag. It is designed to store ITU Object identifier values as an array of u64 values. It uses the same encoding of ILILIntArrayTag.

This struct implemens the standard range tag. The range tag consists of a starting value (u64) followed by the number of entries (u16).

This struct implements the standard string dictionary tag. It always maps strings to strings.

This struct implements the standard string tag.

This struct implements the standard tag array tag. It differs from ILTagSeqTag because it serializes the number of entries before the serialization of the tags.

This struct implements the standard tag sequence tag.

This struct implements the standard version tag. It encodes the 4 parts of the version as i32 values. Those parts are named major, minor, revision and build.

Functions

Extracts a string value from a standard string tag directly from the data stream.

Extracts a string value from a standard string tag directly from the data stream and put it inside an existing std::string::String.

Serializes a string into a standard string tag directly from its value.

Computes the size of the standard string tag from its value, without the need to create a tag instance.