Click or drag to resize

Crcupdate_crc Method

Update a running CRC with the bytes buf[0..len-1]. The CRC should be initialized to all 1's, and the transmitted value is the 1's complement of the final running CRC (see method crc(Byte, Int64, Int64))).

Namespace:  Ptv.XServer.Controls.Map.Tools.Reprojection
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static uint update_crc(
	uint crc,
	byte[] buf,
	long offset,
	long length
)

Parameters

crc
Type: SystemUInt32
Cyclic redundancy check value.
buf
Type: SystemByte
Buffer of image bytes.
offset
Type: SystemInt64
Where to start in buf.
length
Type: SystemInt64
Number of bytes in buf.

Return Value

Type: UInt32
Final cyclic redundancy check value.
See Also