Versions in this module Expand all Collapse all v0 v0.5.2 Sep 18, 2014 v0.5.0 Sep 14, 2014 Changes in this version + const ClassApplication + const ClassBitmask + const ClassContext + const ClassPrivate + const ClassUniversal + const TagBMPString + const TagBitString + const TagBitmask + const TagBoolean + const TagCharacterString + const TagEOC + const TagEmbeddedPDV + const TagEnumerated + const TagExternal + const TagGeneralString + const TagGeneralizedTime + const TagGraphicString + const TagIA5String + const TagInteger + const TagNULL + const TagNumericString + const TagObjectDescriptor + const TagObjectIdentifier + const TagOctetString + const TagPrintableString + const TagRealFloat + const TagRelativeOID + const TagSequence + const TagSet + const TagT61String + const TagUTCTime + const TagUTF8String + const TagUniversalString + const TagVideotexString + const TagVisibleString + const TypeBitmask + const TypeConstructed + const TypePrimitive + var ClassMap = map[uint8]string + var Debug bool = false + var TagMap = map[uint8]string + var TypeMap = map[uint8]string + func DecodeInteger(data []byte) (ret uint64) + func DecodeString(data []byte) (ret string) + func EncodeInteger(val uint64) []byte + func PrintBytes(buf []byte, indent string) + func PrintPacket(p *Packet) + type Packet struct + ByteValue []byte + Children []*Packet + ClassType uint8 + Data *bytes.Buffer + Description string + Tag uint8 + TagType uint8 + Value interface{} + func DecodePacket(data []byte) *Packet + func Encode(ClassType, TagType, Tag uint8, Value interface{}, Description string) *Packet + func NewBoolean(ClassType, TagType, Tag uint8, Value bool, Description string) *Packet + func NewInteger(ClassType, TagType, Tag uint8, Value uint64, Description string) *Packet + func NewSequence(Description string) *Packet + func NewString(ClassType, TagType, Tag uint8, Value, Description string) *Packet + func ReadPacket(reader io.Reader) (*Packet, error) + func (p *Packet) AppendChild(child *Packet) + func (p *Packet) Bytes() []byte + func (p *Packet) DataLength() uint64