Table of Contents

Class PooledMemoryStream

Namespace
CodeProject.ObjectPool.Specialized
Assembly
CodeProject.ObjectPool.dll

Pooled object prepared to work with MemoryStream instances.

public class PooledMemoryStream : PooledObject, IDisposable, IEquatable<PooledObject>
Inheritance
PooledMemoryStream
Implements
Inherited Members

Constructors

PooledMemoryStream(int)

Builds a pooled memory stream.

public PooledMemoryStream(int capacity)

Parameters

capacity int

The capacity of the backing stream.

Properties

MemoryStream

The memory stream.

public MemoryStream MemoryStream { get; }

Property Value

MemoryStream

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.