private ushort GetChecksum(byte[] data) => Checksums.CRC16_CCITT(data, Offset, Length);
private ushort CalcBlockChecksum(byte[] data) => Checksums.CRC16_CCITT(data, 0, data.Length - FooterSize);
private ushort CalcBlockChecksum(byte[] data) => Checksums.CRC16_CCITT(new ReadOnlySpan <byte>(data, 0, data.Length - FooterSize));
protected override ushort GetChecksum(byte[] data) => Checksums.CRC16_CCITT(data, Offset, Length);
private ushort GetChecksum(byte[] data) => Checksums.CRC16_CCITT(new ReadOnlySpan <byte>(data, Offset, Length));
private ushort GetChecksum(Span <byte> data) => Checksums.CRC16_CCITT(data.Slice(Offset, Length));
protected override ushort GetChecksum(byte[] data) => Checksums.CRC16_CCITT(new ReadOnlySpan <byte>(data, Offset, Length));