Method function SLSimpleDataBuffer.ISLBlockBuffer.Read() : Pointer
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: ISLBlockBuffer
Contents |
Syntax
Delphi:
function Read() : Pointer;
C++ Builder:
Pointer __fastcall Read();
Visual C++ (MFC):
Read();
Summary
Returns read only pointer to the buffer data.
Description
Use this method when you need to access data for reading only. Do not modify the data via this pointer, as it will result in unexpected behavior of the application, and potentially even crashes! If you need to modify the data, use Write or Modify instead!
Example:
var RawData : PByte; RawData := BlockBuffer.Read();