Discuss this help topic in SecureBlackbox Forum

TElCMSContent.Read

TElCMSContent     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Saves message content data into the buffer.

Declaration

[C#]
    int Read(ref byte[] Buffer, int StartIndex, int Size, long Offset);

[VB.NET]
    Function Read(ByRef Buffer As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer, ByVal Offset As Long) As Integer

[Pascal]
    function Read(Buffer : pointer; Size : integer; Offset : Int64) : integer;

[C++]
    int32_t Read(void * Buffer, int32_t Size, int64_t Offset);

[PHP]
    integer Read(TSBPointer|array of byte|string|NULL $Buffer, integer $Size, integer $Offset)

[Java]
    int read(byte[] Buffer, int StartIndex, int Size, long Offset);

Parameters

  • Buffer - buffer where the data should be saved
  • StartIndex - position from which the data should be saved in Buffer
  • Size - amount of data which should be saved
  • Offset - position from which to start reading content data

Return value

    Returns the number of bytes which has been read from the content data.

Description

    Use this method to store the content data into the memory buffer.

See also:     Init     Size    

Discuss this help topic in SecureBlackbox Forum