Method function VLSimpleImageBuffer.IVLImageBuffer.Read() : PByte
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: IVLImageBuffer
Contents |
Syntax
Delphi:
function Read() : PByte;
C++ Builder:
PByte __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 := VideoBuffer.Read();