MCPcopy Create free account
hub / github.com/c3d/tao3D / BERDecodeAsOctetString

Method BERDecodeAsOctetString

libcryptopp/cryptopp/integer.cpp:3162–3169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3160}
3161
3162void Integer::BERDecodeAsOctetString(BufferedTransformation &bt, size_t length)
3163{
3164 BERGeneralDecoder dec(bt, OCTET_STRING);
3165 if (!dec.IsDefiniteLength() || dec.RemainingLength() != length)
3166 BERDecodeError();
3167 Decode(dec, length);
3168 dec.MessageEnd();
3169}
3170
3171size_t Integer::OpenPGPEncode(byte *output, size_t len) const
3172{

Callers 1

BERDecodeElementMethod · 0.45

Calls 2

BERDecodeErrorFunction · 0.85
MessageEndMethod · 0.80

Tested by

no test coverage detected