Method function SLSimpleDataBuffer.ISLDataBuffer.ByteRead() : PByte

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
 
(2 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 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