---
name: "CRC16Digest"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/CRC16Digest"
---

# CRC16Digest(3cc)

A crc16 collection/compution hash accumulator class. crc16 computation hash.

## NAME

CRC16Digest - A crc16 collection/compution hash accumulator class. crc16 computation hash.

## SYNOPSIS

`#include <digest.h>`

Inherits **Digest**.

### Public Methods

**CRC16Digest** ()\
 void **initDigest** (void)\
 unsigned **getSize** (void)\
 unsigned **getDigest** (unsigned char \*buffer)\
 void **putDigest** (const unsigned char \*buffer, unsigned length)\

### Protected Methods

int **overflow** (int c)\
 std::ostream & **strDigest** (std::ostream &os)\

## DETAILED DESCRIPTION

A crc16 collection/compution hash accumulator class. crc16 computation hash.

**Author:**  David Sugar \<dyfet@ostel.com\>

## CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

### CRC16Digest::CRC16Digest ()

## MEMBER FUNCTION DOCUMENTATION

### unsigned CRC16Digest::getDigest (unsigned char \* buffer)` [virtual]`

Implements **Digest**.

### unsigned CRC16Digest::getSize (void)` [inline, virtual]`

Implements **Digest**.

### void CRC16Digest::initDigest (void)` [inline, virtual]`

Implements **Digest**.

### int CRC16Digest::overflow (int c)` [protected]`

### void CRC16Digest::putDigest (const unsigned char \* buffer, unsigned length)` [virtual]`

Implements **Digest**.

### std::ostream& CRC16Digest::strDigest (std::ostream & os)` [protected, virtual]`

Implements **Digest**.

## AUTHOR

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