Struct flate2::Crc[][src]

pub struct Crc { /* fields omitted */ }
[]

The CRC calculated by a CrcReader.

Methods

impl Crc
[src]
[]

[]

Create a new CRC.

[]

bla

[]

The number of bytes that have been used to calculate the CRC. This value is only accurate if the amount is lower than 232.

[]

Update the CRC with the bytes in data.

[]

Reset the CRC.

[]

Combine the CRC with the CRC for the subsequent block of bytes.

Trait Implementations

impl Debug for Crc
[src]
[+]

[]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Crc

impl Sync for Crc