Discuss this help topic in SecureBlackbox Forum

TElCMSContent.Init

TElCMSContent     See also     


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


Reads content data from the stream or buffer.

Declaration

[C#/Java]
    void Init(System.IO.Stream Stream, long Offset, long Size);
    void Init(byte[] Buffer, int StartIndex, int Size);

[VB.NET]
    Sub Init(ByVal Stream As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long)
    Sub Init(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer)

[Pascal]
    procedure Init(Stream : TStream; Offset : Int64; Size : Int64);
    procedure Init(Buffer : pointer; Size : integer);

[C++]
    void Init(TStream &Stream, int64_t Offset, int64_t Size);
    void Init(TStream *Stream, int64_t Offset, int64_t Size);
    void Init(void * Buffer, int32_t Size);

[PHP]
    void Init(TStream $Stream, integer $Offset, integer $Size)
    void Init(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

Parameters

  • Stream - stream with content data
  • Buffer - buffer with content data
  • StartIndex - index of the first byte of content data in Buffer
  • Size - number of bytes to be read from Stream or Buffer
  • Offset - offset of content data in Stream

Description

    Use this method to read content data from the stream or buffer.

See also:     Read    

Discuss this help topic in SecureBlackbox Forum