C# 클래스 RampUp.Buffers.SegmentStream

A stream based on ISegmentPool using its segments as chunks to build up the stream.
상속: ReadonlySegmentStream
파일 보기 프로젝트 열기: Scooletz/RampUp

공개 메소드들

메소드 설명
SetLength ( long value ) : void
WrapInContext ( Payload &ctx ) : void

Wraps the whole content from this instance in a context object. This effectively means that no segments are returned to the pool but rather are passes by ref in the context.

Write ( ByteChunk chunk ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
AddSegments ( int segmentsToObtain ) : Segment*

Adds segments, returning the initial segment of the newly added chain.

SegmentStream ( ISegmentPool pool ) : System
WriteImpl ( ByteSlice &slice ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

SetLength() 공개 메소드

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

WrapInContext() 공개 메소드

Wraps the whole content from this instance in a context object. This effectively means that no segments are returned to the pool but rather are passes by ref in the context.
public WrapInContext ( Payload &ctx ) : void
ctx Payload The context to be returned.
리턴 void

Write() 공개 메소드

public Write ( ByteChunk chunk ) : void
chunk ByteChunk
리턴 void

Write() 공개 메소드

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

WriteByte() 공개 메소드

public WriteByte ( byte value ) : void
value byte
리턴 void