The Conroy & Conroy Subroutine Library (2021.3 edition)

TCOM_Array_Interface
What: class
Ancestor: TCommon_COM_Interface
File: _ArrayInt
Layer: 1
Platforms: C++, C#, Javascript, Pascal (OOP), PHP, Python

This abstract class implements a simple interface for a byte array. All methods use the stdcall calling standard. It has the following methods:

Bytes
int8 Bytes( int64 Index )
property Bytes[ Index : int64 ] : byte read Get_Byte write Set_Byte
Access to the Bytes of the array.

Get_Byte
int8 Get_Byte( int64 Index )
function Get_Byte( Index : int64 ) : byte
Return a byte from the given index.

High_Bound
int64 High_Bound( int Subscript )
function High_Bound( Subscript : integer ) : int64
Returns high bound of specified subscript.

Low_Bound
int64 Low_Bound( int Subscript )
function Low_Bound( Subscript : integer ) : int64
Returns low bound of specified subscript.

Read_Only
bool Read_Only()
function Read_Only : boolean
Returns true if the data is read-only.

Set_Byte
void Set_Byte( int64 Index, int8 Value )
procedure Set_Byte( Index : int64 ; Value : byte )
Set a byte at a specific index.

Subscripts
int Subscripts()
function Subscripts : integer
Returns number of subscripts.