C# 클래스 CSharpUtils.Streams.MapStream

상속: Stream
파일 보기 프로젝트 열기: soywiz/csharputils 1 사용 예제들

공개 메소드들

메소드 설명
Flush ( ) : void

Map ( long Offset, Stream Stream ) : MapStream

MapStream ( ) : System

Read ( byte Buffer, int Offset, int Count ) : int

Seek ( long offset, SeekOrigin origin ) : long

SetLength ( long value ) : void

Write ( byte Buffer, int Offset, int Count ) : void

WriteSegmentsToStream ( Stream TargetStream ) : void

Function that writtes all the mappings into another stream. Useful for patching a file or memory.

비공개 메소드들

메소드 설명
GetAvailableBytesOnCurrentStream ( ) : long

_PrepareCurrentStream ( ) : void

_Transfer ( byte Buffer, long Offset, long Count, Func Method ) : long

메소드 상세

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Map() 공개 메소드

public Map ( long Offset, Stream Stream ) : MapStream
Offset long
Stream Stream
리턴 MapStream

MapStream() 공개 메소드

public MapStream ( ) : System
리턴 System

Read() 공개 메소드

public Read ( byte Buffer, int Offset, int Count ) : int
Buffer byte
Offset int
Count int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte Buffer, int Offset, int Count ) : void
Buffer byte
Offset int
Count int
리턴 void

WriteSegmentsToStream() 공개 메소드

Function that writtes all the mappings into another stream. Useful for patching a file or memory.
public WriteSegmentsToStream ( Stream TargetStream ) : void
TargetStream Stream Stream to write the mapped contents to
리턴 void