Documentation ¶
Overview ¶
Package tlv21 implements TLV with 2 bytes for the type and 1 byte for the length. The type field is encoded using big endian.
This package was written specifically for openspalib and so it contains a feature that would otherwise be considered a bug. There can only be once instance of a type in a container. Thus if a type in a TLV container is repeated, the parser will append it to the "singleton" type Entry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func (*Container) BytesBuffer ¶
Click to show internal directories.
Click to hide internal directories.