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
)
Public Shared Function update_crc (
crc As UInteger,
buf As Byte(),
offset As Long,
length As Long
) As UInteger
public:
static unsigned int update_crc(
unsigned int crc,
array<unsigned char>^ buf,
long long offset,
long long length
)
static member update_crc :
crc : uint32 *
buf : byte[] *
offset : int64 *
length : int64 -> uint32
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:
UInt32Final cyclic redundancy check value.
See Also