JCL Help:TJclBufferedStream.ReadFromBuffer@@Longint@Longint

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Read data from cache buffer.


Pascal

 protected function ReadFromBuffer(var Buffer; Count: Longint; Start: Longint): Longint;


Parameters

Parameters Description
var Buffer Memory location to store loaded data.
Count: Longint Number of requested bytes.
Start: Longint Starting position in cache buffer.


Return Value

Effective number of bytes that were read.


Description

This function tries to read Count bytes from cache buffer. It is called in a loop by TJclBufferedStream.Read@@Longint to have the requested number of bytes.


See Also

TJclBufferedStream.WriteToBuffer TJclBufferedStream.Read


About

Donator

Heinz Zastrau


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