StreamWrapperFactory class

StreamWrapperFactory class

Factory of StreamWrappers. For COM interface.

The StreamWrapperFactory type exposes the following members:

Constructors

ConstructorDescription
__init__(self)

Methods

MethodDescription
create_memory_stream_wrapper(self)Creates MemoryStream wrapper.
create_memory_stream_wrapper(self, buffer)Creates MemoryStream wrapper based on the specified byte array.
create_file_stream_wrapper(self, file_name, file_mode)Creates FileStream with the specified path and creation mode.
create_file_stream_wrapper(self, file_name, file_mode, file_access)Creates FileStream with the specified path, creation mode, and read/write permission.

See Also