kencode

Default

object Default : Crc16(source)

Default CRC-16/X-25 instance.

Properties

Link copied to clipboard
open override val size: Int

Number of bytes produced by digest.

Functions

Link copied to clipboard

Wraps this Checksum as a PayloadTransform that appends the digest on encode and strips and verifies it on decode.

Link copied to clipboard
open override fun digest(data: ByteArray): ByteArray

Computes the checksum of data and returns it as a size-byte array.