Method function SLSimpleDataBuffer.ISLDataBuffer.ByteRead() : PByte

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
David Alm (Talk | contribs)
(Automated Syncronization with Documentation)
Newer edit →

Revision as of 00:15, 22 November 2011

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

C++ Builder:

PByte __fastcall ByteRead();

Visual C++ (MFC):

ByteRead();

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

RawData := SomeBuffer.ByteRead();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox