Module asn1_cereal::tag [] [src]

Encoding and decoding of tag and length bytes for BER.

Structs

Tag

A struct containing the information from an ASN.1 tag, which represents an ASN.1 element.

Enums

Class

An ASN.1 Class.

Len

An enum representing the length of an ASN.1 element.

Functions

read_taglen

Given an iterator over a byte stream, read and return a TagLen struct.

write_taglen

Write the ASN.1 representation of this TagNum struct to the given writer.

Type Definitions

LenNum
TagNum

An ASN.1 tag number.

Type

A type for ASN.1 type names.