Discuss this help topic in SecureBlackbox Forum

TElCompoundFileVirtualStream.Read

TElCompoundFileVirtualStream     See also     


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


Reads data from the stream.

Declaration

[C#/Java]
    int Read(byte[] Buffer, int Offset, int Count);
    int Read(byte[] Buffer, int Count);

[VB.NET]
    Function Read(ByVal Buffer As Byte(), ByVal Offset As Integer, ByVal Count As Integer) As Integer
    Function Read(ByVal Buffer As Byte(), ByVal Count As Integer) As Integer

[Pascal]
    function Read(var Buffer, Count : longint) : longint;

[C++]
    int32_t Read(void * Buffer, int32_t Count);

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

Parameters

  • Buffer - buffer where the data should be read to
  • Count - number of bytes to read
  • Offset - offset of the data in the buffer. If omitted, data will be copied to the beginning of the buffer.

Return value

    Returns the number bytes have been read.

Description

    Use this method to read data from the compound file virtual stream.

See also:     Write     CanRead     Position    

Discuss this help topic in SecureBlackbox Forum