JCL Help:TJclCRC16Stream

From Project JEDI Wiki
Jump to navigationJump to search

Class Hierarchy

TJclStream
|
TJclStreamDecorator
|
TJclBufferedStream
|
TJclSectoredStream
|
TJclCRC16Stream


Summary

The TJclCRC16Stream stores data in a protected stream.


Pascal

 public TJclCRC16Stream = class(TJclSectoredStream);


Description

The TJclCRC16Stream stores data in a protected stream.
Every block of data is followed by a checksum computed by the Cyclic Redundancy Check algorithm on 16 bit. This checksum is able to repair errors in the stream. Current implementation can repair one damaged bit.
All checksum computations and checks are transparent, this stream can be used as any other regular Stream. Use the Flush method to force data to be written from the internal buffer.


See Also

TJclCRC32Stream


About

Unit

JclStreams


Navigation

Donator

Florent Ouchet


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page