C# 클래스 ICSharpCode.SharpZipLib.Tests.TestSupport.TrackedMemoryStream

An extended memory stream that tracks closing and disposing
상속: System.IO.MemoryStream
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.

TrackedMemoryStream ( ) : System

Initializes a new instance of the TrackedMemoryStream class.

TrackedMemoryStream ( byte buffer ) : System

Initializes a new instance of the TrackedMemoryStream class.

WriteLEInt ( int value ) : void

Write an int value in little endian order.

WriteLEShort ( short value ) : void

Write a short value in Little Endian order

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.IO.MemoryStream class and optionally releases the managed resources.

메소드 상세

Close() 공개 메소드

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the T:System.IO.MemoryStream class and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

TrackedMemoryStream() 공개 메소드

Initializes a new instance of the TrackedMemoryStream class.
public TrackedMemoryStream ( ) : System
리턴 System

TrackedMemoryStream() 공개 메소드

Initializes a new instance of the TrackedMemoryStream class.
public TrackedMemoryStream ( byte buffer ) : System
buffer byte The buffer.
리턴 System

WriteLEInt() 공개 메소드

Write an int value in little endian order.
public WriteLEInt ( int value ) : void
value int
리턴 void

WriteLEShort() 공개 메소드

Write a short value in Little Endian order
public WriteLEShort ( short value ) : void
value short
리턴 void