Versions in this module Expand all Collapse all v1 v1.0.6 Dec 21, 2022 v1.0.5 Dec 21, 2022 Changes in this version + var BitStringType = reflect.TypeOf(BitString{}) + var EnumeratedType = reflect.TypeOf(Enumerated(0)) + var ObjectIdentifierType = reflect.TypeOf(ObjectIdentifier{}) + var OctetStringType = reflect.TypeOf(OctetString{}) + func GetBitString(srcBytes []byte, bitsOffset uint, numBits uint) (dstBytes []byte, err error) + func GetBitsValue(srcBytes []byte, bitsOffset uint, numBits uint) (value uint64, err error) + func Marshal(val interface{}) ([]byte, error) + func MarshalWithParams(val interface{}, params string) ([]byte, error) + func Unmarshal(b []byte, value interface{}) error + func UnmarshalWithParams(b []byte, value interface{}, params string) error + type BitString struct + BitLength uint64 + Bytes []byte + type Enumerated uint64 + type ObjectIdentifier []byte + type OctetString []byte