MemoryStream.MemoryStream

Overview | Methods | This Package | All Packages

MemoryStream.MemoryStream

Creates a MemoryStream object.

Syntax

public MemoryStream()

public MemoryStream( int capacity )

public MemoryStream( byte[] buffer )

public MemoryStream( byte[] buffer, int offset, int length )

public MemoryStream( IByteStream stream, int length )

public MemoryStream( IStream stream, int length )

public MemoryStream( java.io.InputStream stream )

Parameters

capacity

The size of the stream.

buffer

An array of a primitive type.

offset

The byte offset into the buffer.

length

The length of the buffer in bytes.

stream

The data stream to act on.