C# 클래스 TSystems.RELOAD.Utils.StreamUtil

파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET

공개 메소드들

메소드 설명
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