ost::ChecksumDigest(3)
π ost::ChecksumDigest β Library Functions Manual π
okay bestie, pull up a chair, we're reading a manpage from the ost manual (section 3, library functions, the good stuff) and honestly? it's a little guy but it works. π
β¨ NAME β¨
ost::ChecksumDigest β a simple checksum digest function. that's it. that's the whole vibe. simple. checksum. digest. slay. π
πΈ SYNOPSIS πΈ
#include <digest.h>
lowkey the most important line here: it inherits ost::Digest. so everything Digest has going on, this baby gets too. π¦
π«Ά Public Member Functions
ChecksumDigest ()
void initDigest (void)
unsigned getSize (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)
π Protected Member Functions
int overflow (int c)
std::ostream & strDigest (std::ostream &os)
π Detailed Description π
A simple checksum digest function. no cap, that's literally the description. it's the checksum hash function you call when you want checksum energy and you don't want drama. β¨
Author
David Sugar dyfet@ostel.com
π§ Constructor & Destructor Documentation π§
π ost::ChecksumDigest::ChecksumDigest ()
the constructor! it exists! it makes a ChecksumDigest! main character energy fr fr. π
π Member Function Documentation π
β unsigned ost::ChecksumDigest::getDigest (unsigned char * buffer) [virtual]
Implements ost::Digest.
β unsigned ost::ChecksumDigest::getSize (void) [inline], [virtual]
Implements ost::Digest.
β void ost::ChecksumDigest::initDigest (void) [inline], [virtual]
Implements ost::Digest.
β int ost::ChecksumDigest::overflow (int c) [protected]
protected, so it's giving inner circle only. π
β void ost::ChecksumDigest::putDigest (const unsigned char * buffer, unsigned length) [virtual]
Implements ost::Digest.
β std::ostream& ost::ChecksumDigest::strDigest (std::ostream & os) [protected], [virtual]
Implements ost::Digest.
notice how many of these say Implementsost::Digest? yeah. that's the whole theme. it's aDigestimplementation and it's not shy about it. π«Ά
π· Author π·
Generated automatically by Doxygen for GNU CommonC++ from the source code. (not me writing a manpage by hand, the robot did it, and honestly? it ate. π)
and that's the whole page, bestie!! π this one came from GNU CommonC++, dated Sun Dec 27 2020, and you can find it filed under ost::ChecksumDigest(3) in section 3. go forth and checksum responsibly. πβ¨π¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms