Method function VLSimpleImageBuffer.IVLImageBuffer.Write() : PByte

From Mitov Wiki Doc
Jump to: navigation, search

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 Write() : PByte;

C++ Builder:

PByte __fastcall Write();

Visual C++ (MFC):

Write();

Summary

Returns write pointer to the buffer data.

Description

This method is not guaranteed to preserve the current data in the buffer. If you need to read and write to the buffer, use the Modify method. Use this method when you need write access to the data for writing. If you just need to read the data, use Read instead! Read is faster, as Write may result in additional memory allocation operation if the internal data buffer is shared.


Example:

var RawData : PByte;

RawData := VideoBuffer.Write();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox