JCL Help:TJclCRC32Stream

From Project JEDI Wiki
Jump to navigationJump to search

Class Hierarchy

TJclStream
|
TJclStreamDecorator
|
TJclBufferedStream
|
TJclSectoredStream
|
TJclCRC32Stream


Summary

The TJclCRC32Stream stores data in a protected stream.


Pascal

 public TJclCRC32Stream = class(TJclSectoredStream);


Description

The TJclCRC32Stream stores data in a protected stream.
Every block of data is followed by a checksum computed by the Cyclic Redundancy Check algorithm on 32 bits. 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

TJclCRC16Stream


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