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

Method ByteCount

libcryptopp/cryptopp/integer.cpp:3045–3052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3043}
3044
3045unsigned int Integer::ByteCount() const
3046{
3047 unsigned wordCount = WordCount();
3048 if (wordCount)
3049 return (wordCount-1)*WORD_SIZE + BytePrecision(reg[wordCount-1]);
3050 else
3051 return 0;
3052}
3053
3054unsigned int Integer::BitCount() const
3055{

Callers

nothing calls this directly

Calls 1

BytePrecisionFunction · 0.85

Tested by

no test coverage detected