Свойство | Тип | Описание | |
---|---|---|---|
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 |
public static FromByteArray ( byte bytes, int index ) : int>.Tuple |
||
bytes | byte | |
index | int | |
Результат | int>.Tuple |
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 |
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 |