MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / GetSet

Method GetSet

extra/yassl/taocrypt/src/asn.cpp:276–287  ·  view source on GitHub ↗

Read a Sequence, return length

Source from the content-addressed store, hash-verified

274
275// Read a Sequence, return length
276word32 BER_Decoder::GetSet()
277{
278 if (source_.GetError().What()) return 0;
279
280 byte b = source_.next();
281 if (b != (SET | CONSTRUCTED)) {
282 source_.SetError(SET_E);
283 return 0;
284 }
285
286 return GetLength(source_);
287}
288
289
290// Read Version, return it

Callers

nothing calls this directly

Calls 5

GetLengthFunction · 0.85
WhatMethod · 0.45
GetErrorMethod · 0.45
nextMethod · 0.45
SetErrorMethod · 0.45

Tested by

no test coverage detected