copy()  debugOff()

Chapter 5: General Objects and Methods

crc()

Description

Reads the I/O file object associated file and uses the CCITT (International Telegraph and Telephone Consultant Committee) algorithm to generate a 16-bit CRC (Cyclic Redundancy Check). The method then returns the CRC, high byte first.

Syntax

crc();

Return value

Integer. Returns the CRC, high byte first, if successful, and > or = 0, if failed.

Usage

Pointer to object

Object

piof->crc();

my_iofobj.crc();





Copyright © 2005. Sybase Inc. All rights reserved. debugOff()

View this book as PDF