C# 클래스 QuicDotNet.Frames.StreamFrame

상속: AbstractFrameBase
파일 보기 프로젝트 열기: seanmcelroy/QuicDotNet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
StreamFrame System

공개 메소드들

메소드 설명
FromByteArray ( byte bytes, int index ) : int>.Tuple
GetMetadataLength ( ) : int
SetData ( [ data, bool fin ) : void
StreamFrame ( [ data, bool fin, uint streamId, ulong offset ) : System

Creates a new stream frame with a block of data to send for the stream

StreamFrame ( uint streamId, ulong offset ) : System

Creates a PROTOTYPE stream frame with a block of data to send for the stream A prototype frame can only service the StreamFrame.GetMetadataLength method until it is hydrated with the StreamFrame.SetData(byte[], bool) method

ToByteArray ( ) : byte[]

비공개 메소드들

메소드 설명
StreamFrame ( ) : System

메소드 상세

FromByteArray() 공개 정적인 메소드

public static FromByteArray ( byte bytes, int index ) : int>.Tuple
bytes byte
index int
리턴 int>.Tuple

GetMetadataLength() 공개 메소드

public GetMetadataLength ( ) : int
리턴 int

SetData() 공개 메소드

public SetData ( [ data, bool fin ) : void
data [
fin bool
리턴 void

StreamFrame() 공개 메소드

Creates a new stream frame with a block of data to send for the stream
public StreamFrame ( [ data, bool fin, uint streamId, ulong offset ) : System
data [ The data block to send in this stream frame
fin bool A value indicating whether this is the final block of data for this stream, and that it should enter a half-closed state
streamId uint The StreamId for the frame
offset ulong A variable-sized unsigned number specifying the byte offset in the actual larger stream for this block of data.
리턴 System

StreamFrame() 공개 메소드

Creates a PROTOTYPE stream frame with a block of data to send for the stream A prototype frame can only service the StreamFrame.GetMetadataLength method until it is hydrated with the StreamFrame.SetData(byte[], bool) method
public StreamFrame ( uint streamId, ulong offset ) : System
streamId uint The StreamId for the frame
offset ulong A variable-sized unsigned number specifying the byte offset in the actual larger stream for this block of data.
리턴 System

ToByteArray() 공개 메소드

public ToByteArray ( ) : byte[]
리턴 byte[]