Discuss this help topic in SecureBlackbox Forum

TElCompoundFileVirtualStream.Write

TElCompoundFileVirtualStream     See also     


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


Writes data to the stream.

Declaration

[C#]
    void Write(byte[] Buffer, int Offset, int Count);
    int Write(byte[] Buffer, int Count);

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

[Pascal]
    function Write(const Buffer, Count : longint) : longint;

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

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

[Java]
    void write(byte[] Buffer, int Offset, int Count);
    int write(byte[] Buffer, int Count);

Parameters

  • Buffer - buffer which contains the data to be written
  • Count - number of bytes to write
  • Offset - offset of the data in the buffer. If omitted, starts from the beginning of the buffer.

Return value

    Returns the number bytes have been written.

Description

    Use this method to write data to the compound file virtual stream.

See also:     Read     CanWrite     Position    

Discuss this help topic in SecureBlackbox Forum