C# 클래스 RampUp.Buffers.ReadonlySegmentStream

The readonly version of SegmentStream, being reusable by filling the instance by calling Fill
상속: Stream
파일 보기 프로젝트 열기: Scooletz/RampUp

보호된 프로퍼티들

프로퍼티 타입 설명
Calculator IndexCalculator
Head Segment*
_length int
_position int

공개 메소드들

메소드 설명
Fill ( Payload &payload ) : void
Flush ( ) : void
Read ( ByteChunk chunk ) : int
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadonlySegmentStream ( ) : System

Initializes empty ReadonlySegmentStream, which should be filled with data.

Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

메소드 설명
FindSegment ( int index ) : Segment*
GetTailOrThis ( Segment segment ) : Segment*
ReadonlySegmentStream ( IndexCalculator calculator ) : System

비공개 메소드들

메소드 설명
ReadImpl ( ByteSlice &slice ) : int

메소드 상세

Fill() 공개 메소드

public Fill ( Payload &payload ) : void
payload Payload
리턴 void

FindSegment() 보호된 메소드

protected FindSegment ( int index ) : Segment*
index int
리턴 Segment*

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GetTailOrThis() 보호된 정적인 메소드

protected static GetTailOrThis ( Segment segment ) : Segment*
segment Segment
리턴 Segment*

Read() 공개 메소드

public Read ( ByteChunk chunk ) : int
chunk ByteChunk
리턴 int

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

ReadonlySegmentStream() 공개 메소드

Initializes empty ReadonlySegmentStream, which should be filled with data.
public ReadonlySegmentStream ( ) : System
리턴 System

ReadonlySegmentStream() 보호된 메소드

protected ReadonlySegmentStream ( IndexCalculator calculator ) : System
calculator IndexCalculator
리턴 System

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

프로퍼티 상세

Calculator 보호되어 있는 프로퍼티

protected IndexCalculator,RampUp.Buffers Calculator
리턴 IndexCalculator

Head 보호되어 있는 프로퍼티

protected Segment* Head
리턴 Segment*

_length 보호되어 있는 프로퍼티

protected int _length
리턴 int

_position 보호되어 있는 프로퍼티

protected int _position
리턴 int