Method function SLSimpleDataBuffer.ISLDataBuffer.ByteWrite() : PByte

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
 
(11 intermediate revisions by one user not shown)

Latest revision as of 00:29, 26 June 2013

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: ISLDataBuffer

Contents

Syntax

Delphi:

function ByteWrite() : PByte;

C++ Builder:

PByte __fastcall ByteWrite();

Visual C++ (MFC):

ByteWrite();

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 : Pointer;

RawData := SomeBuffer.ByteWrite();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox