Method function SLSimpleDataBuffer.ISLDataBuffer.ByteRead() : PByte

From Mitov Wiki Doc
Revision as of 01:04, 7 June 2013 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 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