MCPcopy Create free account
hub / github.com/egonelbre/exp / AsOctetString

Method AsOctetString

ber/value.go:186–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186func (v *Token) AsOctetString() (ret []byte, err error) {
187 v.mustBeValue()
188 return v.Bytes, nil
189}
190
191// AsObjectIdentifier parses an OBJECT IDENTIFIER from the given bytes and
192// returns it. An object identifier is a sequence of variable length integers

Callers 1

UniversalMethod · 0.95

Calls 1

mustBeValueMethod · 0.95

Tested by

no test coverage detected