previous | start | next

BER Examples

A Boolean value of true might be encoded in ASN.1/BER as three octets, thus:
TLV-encoded BOOLEAN
A small-valued integer might be encoded as:
TLV-encoded INTEGER
A an octet-string encodes just the bytes of the string, thus:
TLV-encoded OCTET STRING


previous | start | next