C# Класс ICSharpCode.SharpZipLib.Tests.TestSupport.TrackedMemoryStream

An extended memory stream that tracks closing and disposing
Наследование: System.IO.MemoryStream
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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