C# 클래스 CodeProject.ObjectPool.Specialized.PooledMemoryStream

Pooled object prepared to work with System.IO.MemoryStream instances.
상속: PooledObject
파일 보기 프로젝트 열기: pomma89/ObjectPool

공개 메소드들

메소드 설명
PooledMemoryStream ( int capacity ) : CodeProject.ObjectPool.Core

Builds a pooled memory stream.

ToString ( ) : string

Returns a string that represents the current object.

보호된 메소드들

메소드 설명
OnReleaseResources ( ) : void

Releases the object's resources.

OnResetState ( ) : void

Reset the object state to allow this object to be re-used by other parts of the application.

메소드 상세

OnReleaseResources() 보호된 메소드

Releases the object's resources.
protected OnReleaseResources ( ) : void
리턴 void

OnResetState() 보호된 메소드

Reset the object state to allow this object to be re-used by other parts of the application.
protected OnResetState ( ) : void
리턴 void

PooledMemoryStream() 공개 메소드

Builds a pooled memory stream.
public PooledMemoryStream ( int capacity ) : CodeProject.ObjectPool.Core
capacity int The capacity of the backing stream.
리턴 CodeProject.ObjectPool.Core

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string