MCPcopy Create free account

hub / github.com/go-asn1-ber/asn1-ber / functions

Functions75 in github.com/go-asn1-ber/asn1-ber

↓ 17 callersMethodBytes
()
ber.go:474
↓ 14 callersFunctionbuff
buff is an alias to build a bytes.Reader from an explicit sequence of bytes
ber_test.go:201
↓ 13 callersFunctionencodeInteger
(i int64)
ber.go:249
↓ 8 callersFunctionEncode
(classType Class, tagType Type, tag Tag, value interface{}, description string)
ber.go:489
↓ 7 callersFunctionDecodePacketErr
DecodePacketErr decodes the given bytes into a single Packet If a decode error is encountered, nil is returned.
ber.go:288
↓ 7 callersFunctionNewString
(classType Class, tagType Type, tag Tag, value, description string)
ber.go:611
↓ 6 callersFunctionParseInt64
(bytes []byte)
ber.go:232
↓ 6 callersFunctionReadPacket
ReadPacket reads a single Packet from the reader.
ber.go:220
↓ 5 callersFunctionDecodePacket
DecodePacket decodes the given bytes into a single Packet If a decode error is encountered, nil is returned.
ber.go:280
↓ 5 callersFunctionDecodeString
(data []byte)
ber.go:228
↓ 5 callersFunctionunexpectedEOF
(err error)
util.go:14
↓ 4 callersFunctionOIDToString
(oi []int)
ber.go:719
↓ 4 callersFunctionreadByte
(reader io.Reader)
util.go:5
↓ 3 callersFunctionencodeFloat
(v float64)
real.go:12
↓ 3 callersFunctionparseObjectIdentifier
parseObjectIdentifier parses an OBJECT IDENTIFIER from the given bytes and returns it. An object identifier is a sequence of variable length integers
ber.go:737
↓ 3 callersFunctionreadPacket
readPacket reads a single Packet from the reader, returning the number of bytes read.
ber.go:297
↓ 2 callersMethodAppendChild
(child *Packet)
ber.go:484
↓ 2 callersFunctionNewInteger
(classType Class, tagType Type, tag Tag, value interface{}, description string)
ber.go:577
↓ 2 callersFunctionParseGeneralizedTime
ParseGeneralizedTime parses a string value and if it conforms to GeneralizedTime[^0] format, will return a time.Time for that value. [^0]: https://ww
generalizedTime.go:20
↓ 2 callersFunctionParseReal
(v []byte)
real.go:39
↓ 2 callersFunctionappendBase128Int
(dst []byte, n int64)
ber.go:691
↓ 2 callersFunctionencodeHighTag
(tag Tag)
identifier.go:87
↓ 2 callersFunctionencodeIdentifier
(identifier Identifier)
identifier.go:68
↓ 2 callersFunctionencodeLength
(length int)
length.go:73
↓ 2 callersFunctionencodeOID
encodeOID takes a string representation of an OID and returns its DER-encoded byte slice along with any error.
ber.go:667
↓ 2 callersFunctionis64bit
(a, b string)
suite_test.go:88
↓ 2 callersFunctionparseBase128Int
parseBase128Int parses a base-128 encoded int from the given offset in the given byte slice. It returns the value and the new offset.
ber.go:777
↓ 2 callersFunctionprintPacket
(out io.Writer, p *Packet, indent int, printBytes bool)
ber.go:201
↓ 2 callersFunctionreadHeader
(reader io.Reader)
header.go:9
↓ 2 callersFunctionreadIdentifier
(reader io.Reader)
identifier.go:9
↓ 2 callersFunctionreadLength
(reader io.Reader)
length.go:9
↓ 1 callersFunctionDescribePacket
Return a string describing packet content. This is not recursive, If the packet is a sequence, use `printPacket()`, or browse sequence yourself.
ber.go:179
↓ 1 callersFunctionNewBoolean
(classType Class, tagType Type, tag Tag, value bool, description string)
ber.go:546
↓ 1 callersFunctionNewLDAPBoolean
NewLDAPBoolean returns a RFC 4511-compliant Boolean packet.
ber.go:562
↓ 1 callersFunctionNewSequence
(description string)
ber.go:542
↓ 1 callersFunctionPrintBytes
(out io.Writer, buf []byte, indent string)
ber.go:153
↓ 1 callersFunctionbase128IntLength
(n int64)
ber.go:706
↓ 1 callersFunctionencodeUnsignedInteger
(i uint64)
content_int.go:3
↓ 1 callersFunctionint64Length
(i int64)
ber.go:262
↓ 1 callersFunctionisEOCPacket
(p *Packet)
util.go:21
↓ 1 callersFunctionisPrintableString
(val string)
ber.go:457
↓ 1 callersFunctionparseBinaryFloat
(v []byte)
real.go:63
↓ 1 callersFunctionparseDecimalFloat
(v []byte)
real.go:127
↓ 1 callersFunctionparseSpecialFloat
(v []byte)
real.go:148
↓ 1 callersFunctionuint64Length
(i uint64)
content_int.go:16
FunctionFuzzDecodePacket
(f *testing.F)
fuzz_test.go:16
FunctionNewGeneralizedTime
(classType Class, tagType Type, tag Tag, value time.Time, description string)
ber.go:620
FunctionNewOID
(classType Class, tagType Type, tag Tag, value interface{}, description string)
ber.go:647
FunctionNewReal
(classType Class, tagType Type, tag Tag, value interface{}, description string)
ber.go:633
FunctionPrintPacket
(p *Packet)
ber.go:172
FunctionTestBinaryInteger
(t *testing.T)
ber_test.go:169
FunctionTestBinaryOctetString
(t *testing.T)
ber_test.go:192
FunctionTestBoolean
(t *testing.T)
ber_test.go:23
FunctionTestEOF
(t *testing.T)
ber_test.go:205
FunctionTestEncodeDecodeInteger
(t *testing.T)
ber_test.go:10
FunctionTestEncodeDecodeOID
(t *testing.T)
ber_test.go:103
FunctionTestEncodeHighTag
(t *testing.T)
identifier_test.go:346
FunctionTestEncodeIdentifier
(t *testing.T)
identifier_test.go:230
FunctionTestEncodeLength
(t *testing.T)
length_test.go:130
FunctionTestIA5String
(t *testing.T)
string_test.go:7
FunctionTestInteger
(t *testing.T)
ber_test.go:59
FunctionTestLDAPBoolean
(t *testing.T)
ber_test.go:41
FunctionTestParseGeneralizedTime
(t *testing.T)
generalizedTime_test.go:8
FunctionTestPrintableString
(t *testing.T)
string_test.go:30
FunctionTestReadHeader
(t *testing.T)
header_test.go:9
FunctionTestReadIdentifier
(t *testing.T)
identifier_test.go:10
FunctionTestReadLength
(t *testing.T)
length_test.go:10
FunctionTestReadPacket
(t *testing.T)
ber_test.go:151
FunctionTestRealEncoding
(t *testing.T)
real_test.go:10
FunctionTestSequenceAndAppendChild
(t *testing.T)
ber_test.go:121
FunctionTestString
(t *testing.T)
ber_test.go:83
FunctionTestSuiteDecodePacket
(t *testing.T)
suite_test.go:97
FunctionTestSuiteReadPacket
(t *testing.T)
suite_test.go:148
FunctionTestUTF8String
(t *testing.T)
string_test.go:53
FunctionWritePacket
(out io.Writer, p *Packet)
ber.go:168