Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.CreateStream

TElOpenOfficePackage     See also     


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


Creates a new archive entry.

Declaration

[C#/Java]
    System.IO.Stream CreateStream(string Path, ulong ExpectedStreamSize);

[VB.NET]
    Function CreateStream(ByVal Path As String, ByVal ExpectedStreamSize As Long) As System.IO.Stream

[Pascal]
    function CreateStream(Path : string; ExpectedStreamSize : UInt64) : TStream;

[C++]
    TStreamHandle CreateStream(const std::string &Path, uint64_t ExpectedStreamSize);

[PHP]
    TStream CreateStream(string $Path, integer $ExpectedStreamSize)

Parameters

  • Path - path to the new entry
  • ExpectedStreamSize - expected size of the new entry

Return value

    Returns the stream object for the newly created entry.

Description

    Use this method to create a new package entry and get the stream which stores its data.

See also:     CreateEntry     CloseStream     DeleteStream     GetStream     StreamExists    

Discuss this help topic in SecureBlackbox Forum