Write
Document management, Performance, Concurrency
Description
Implements the TStream write method for a read-only stream: the data is ignored and zero is returned
Writes are ignored without raising so that generic stream code that attempts a write on a seekable stream does not fail with an exception
Syntax
Delphi
Function TByteRangeStream.Write(Const Buffer; Count: Longint): Longint; Override;Parameters
| Buffer | Ignored |
|---|---|
| Count | Ignored |
Return values
| 0 | Always; no bytes are written |
|---|
Remarks
The backing source, the cache and the positional cursor are left unchanged
See also
TByteRangeStreamReadAt, TByteRangeStreamAvailability, LoadFromRangeSource