Method function SLSimpleDataBuffer.ISLDataBuffer.ByteWrite() : PByte

From Mitov Wiki Doc
Revision as of 20:44, 30 October 2012 by David Alm (Talk | contribs)
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: 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