ost::CRC16Digest(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– ost::CRC16Digest β€” Library Functions Manual πŸ’–

okay bestie, sit DOWN, because today we're getting into ost::CRC16Digest, straight out of the Library Functions Manual. it's a CRC16 thing. it's a class. it's giving hash accumulator. let's go πŸ’…βœ¨


🌸 NAME 🌸

ost::CRC16Digest β€” A crc16 collection/compution hash accumulator class.

(yes, "compution." we do not fix the ancestors' typos, we simply respect them πŸ™ˆ)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <digest.h>

Inherits ost::Digest.

✨ Public Member Functions ✨

  • CRC16Digest () β€” the no-args constructor, making you a fresh little digest πŸŽ€
  • CRC16Digest (const CRC16Digest &crc) β€” copy constructor, it copies from crc 🫢
  • virtual ~CRC16Digest () β€” virtual destructor, so it cleans up politely when its main character arc ends πŸ’€
  • void initDigest (uint16 crc) β€” set up the digest with a uint16 starting crc ⭐
  • void initDigest (void) β€” the no-arg reset version 🌈
  • unsigned getSize (void) β€” tells you how big it is, size-wise πŸ‘‘
  • CRC16Digest & operator= (const CRC16Digest &right) β€” assignment, copies from right πŸ’œ
  • operator const uint16 () const β€” implicit conversion to const uint16, lowkey iconic πŸ”₯
  • uint16 getDigest (void) β€” hands you the digest as a uint16 ✨
  • unsigned getDigest (unsigned char *buffer) β€” hands you the digest written into buffer πŸ“
  • void putDigest (const unsigned char *buffer, unsigned length) β€” feeds length bytes from buffer into the digest 🧚

πŸŽ€ Protected Member Functions πŸŽ€

  • int overflow (int c) β€” protected, the internal overflow handler for character c πŸ’…
  • std::ostream & strDigest (std::ostream &os) β€” protected, streams the digest out to os πŸ’–

πŸ’œ Detailed Description πŸ’œ

A crc16 collection/compution hash accumulator class.

πŸ‘‘ Author πŸ‘‘

David Sugar dyfet@ostel.com

crc16 computation hash.

fr fr that's the whole vibe: crc16 computation hash. no notes. 🌸

🫢 Constructor & Destructor Documentation 🫢

  • ost::CRC16Digest::CRC16Digest () β€” the plain constructor ✨
  • ost::CRC16Digest::CRC16Digest (const CRC16Digest & crc) β€” the copy constructor, taking crc 🌈
  • virtual ost::CRC16Digest::~CRC16Digest () [inline], [virtual] β€” destructor, marked [inline] and [virtual] ⭐

πŸ”₯ Member Function Documentation πŸ”₯

  • unsigned ost::CRC16Digest::getDigest (unsigned char * buffer) [virtual] β€” Implements ost::Digest.
  • uint16 ost::CRC16Digest::getDigest (void) [inline] β€” the inline uint16-returning flavor πŸŽ€
  • unsigned ost::CRC16Digest::getSize (void) [inline], [virtual] β€” Implements ost::Digest.
  • void ost::CRC16Digest::initDigest (uint16 crc) [inline] β€” the inline one that takes a uint16 crc πŸ’œ
  • void ost::CRC16Digest::initDigest (void) [inline], [virtual] β€” Implements ost::Digest.
    • References initDigest().
    • Referenced by initDigest().
not it referencing itself and being referenced by itself πŸ’€ circular icon behavior, we love to see it
  • ost::CRC16Digest::operator const uint16 () const [inline] β€” the inline conversion operator 🌸
  • CRC16Digest& ost::CRC16Digest::operator= (const CRC16Digest & right) β€” assignment from right πŸ¦‹
  • int ost::CRC16Digest::overflow (int c) [protected] β€” protected overflow handler for c πŸ’…
  • void ost::CRC16Digest::putDigest (const unsigned char * buffer, unsigned length) [virtual] β€” Implements ost::Digest.
  • std::ostream& ost::CRC16Digest::strDigest (std::ostream & os) [protected], [virtual] β€” Implements ost::Digest.

🌟 Author 🌟

Generated automatically by Doxygen for GNU CommonC++ from the source code.


and that's the whole page, bestie πŸ₯ΉπŸ’– this one came from GNU CommonC++, dated Sun Dec 27 2020 β€” so when you're out here hashing crc16s, just know the Doxygen machine and the 2020 holiday season had your back. mwah πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from