Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2022 Changes in this version + const ClassApplication + const ClassContextSpecific + const ClassPrivate + const ClassUniversal + const TagBitString + const TagBoolean + const TagEnum + const TagGeneralString + const TagGeneralizedTime + const TagIA5String + const TagInteger + const TagOID + const TagOctetString + const TagPrintableString + const TagSequence + const TagSet + const TagT61String + const TagUTCTime + const TagUTF8String + func Marshal(val interface{}) ([]byte, error) + func Unmarshal(b []byte, val interface{}) (rest []byte, err error) + func UnmarshalWithParams(b []byte, val interface{}, params string) (rest []byte, err error) + type BitString struct + BitLength int + Bytes []byte + func (b BitString) At(i int) int + func (b BitString) RightAlign() []byte + type Enumerated int + type Flag bool + type ObjectIdentifier []int + func (oi ObjectIdentifier) Equal(other ObjectIdentifier) bool + func (oi ObjectIdentifier) String() string + type RawContent []byte + type RawValue struct + Bytes []byte + Class int + FullBytes []byte + IsCompound bool + Tag int + type StructuralError struct + Msg string + func (e StructuralError) Error() string + type SyntaxError struct + Msg string + func (e SyntaxError) Error() string