Method function SLSimpleDataBuffer.ISLRealBuffer.Write() : PReal

From Mitov Wiki Doc
Revision as of 00:29, 26 June 2013 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: ISLRealBuffer

Contents

Syntax

Delphi:

function Write() : PReal;

C++ Builder:

PReal __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 : PReal;

RawData := RealBuffer.Write();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox