Documentation ¶
Overview ¶
*
*
*
*
*
*
*
*
*
*
Index ¶
- Constants
- func Decode(evalue interface{}, bbuffer *bytes.Buffer) (err error)
- func DecodeError(desc string) error
- func Encode(bbuffer *bytes.Buffer, value interface{}) (err error)
- func EncodeError(desc string) error
- func LengthError(desc string) error
- func NotImplemented(desc string) error
- func NotSupported(desc string) error
- type ASN1Type
- type IsConstructed
- type LENGTH_FORM
Constants ¶
View Source
const ( SHORT_FORM = 0 LONG_FORM = 1 INDEFINITE_FORM = 2 )
View Source
const ( END_OF_CONTENS_TAG = 0x00 // end-of-contents BOOLEAN_TAG = 0x01 // primitive INTEGER_TAG = 0x02 // primitive BIT_STRING_TAG = 0x03 // either primitive or constructed OCTET_STRING_TAG = 0x04 // primitive NULL_TAG = 0x05 // primitive OBJECT_IDENTIFIER_TAG = 0x06 // primitive REAL_TAG = 0x09 // primitive UTF8String_TAG = 0x0C // either primitive or constructed SEQUENCE_TAG = 0x10 // constructed SET_TAG = 0x11 // constructed )
View Source
const IEEE_754_BIAS = 0x3FF
View Source
const IEEE_754_EMAX = 0x3FF
View Source
const IEEE_754_EMIN = 1 - 0x3FF
View Source
const IEEE_754_T = 52
View Source
const IEEE_754_W = 11
View Source
const (
MAX_STRING_LENGTH = 1000
)
View Source
const MINUS_INFINITY = 0x41
View Source
const PLUS_INFINITY = 0x40
Variables ¶
This section is empty.
Functions ¶
func DecodeError ¶
func EncodeError ¶
func LengthError ¶
func NotImplemented ¶
func NotSupported ¶
Types ¶
type IsConstructed ¶
type IsConstructed bool
type LENGTH_FORM ¶
type LENGTH_FORM int
Click to show internal directories.
Click to hide internal directories.