Documentation
¶
Overview ¶
Package crc64nvme implements the 64-bit cyclic redundancy check with NVME polynomial.
Index ¶
Constants ¶
View Source
const ( // The size of a CRC-64 checksum in bytes. Size = 8 // The NVME polynoimial (reversed, as used by Go) NVME = 0x9a6c9329ac4bc9b5 )
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new hash.Hash64 computing the CRC-64 checksum using the NVME polynomial. Its Sum method will lay the value out in big-endian byte order. The returned Hash64 also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.