C# Класс TSystems.RELOAD.Utils.StreamUtil

Показать файл Открыть проект

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

Метод Описание
ReadBytes ( long posBeforeRead, BinaryReader reader ) : UInt32

Return the amount in bytes of data read already by the reader starting by posBeforeRead.

WrittenBytes ( long posBeforeWrite, BinaryWriter writer ) : UInt32

This util writes the amount of written bytes at the positionBeforeWrite arg. Use is exactly at the position were you completed writing!

WrittenBytesExcludeLength ( long posBeforeWrite, BinaryWriter writer ) : UInt32
WrittenBytesShort ( long posBeforeWrite, BinaryWriter writer ) : UInt16
WrittenBytesShortExcludeLength ( long posBeforeWrite, BinaryWriter writer ) : UInt16

Описание методов

ReadBytes() публичный статический Метод

Return the amount in bytes of data read already by the reader starting by posBeforeRead.
public static ReadBytes ( long posBeforeRead, BinaryReader reader ) : UInt32
posBeforeRead long Position befored read
reader System.IO.BinaryReader The binary reader
Результат System.UInt32

WrittenBytes() публичный статический Метод

This util writes the amount of written bytes at the positionBeforeWrite arg. Use is exactly at the position were you completed writing!
public static WrittenBytes ( long posBeforeWrite, BinaryWriter writer ) : UInt32
posBeforeWrite long long- position before writing
writer System.IO.BinaryWriter The binary writer used to write
Результат System.UInt32

WrittenBytesExcludeLength() публичный статический Метод

public static WrittenBytesExcludeLength ( long posBeforeWrite, BinaryWriter writer ) : UInt32
posBeforeWrite long
writer System.IO.BinaryWriter
Результат System.UInt32

WrittenBytesShort() публичный статический Метод

public static WrittenBytesShort ( long posBeforeWrite, BinaryWriter writer ) : UInt16
posBeforeWrite long
writer System.IO.BinaryWriter
Результат System.UInt16

WrittenBytesShortExcludeLength() публичный статический Метод

public static WrittenBytesShortExcludeLength ( long posBeforeWrite, BinaryWriter writer ) : UInt16
posBeforeWrite long
writer System.IO.BinaryWriter
Результат System.UInt16