Struct DataFrame
- Namespace
- Fluxzy.Clients.H2.Frames
- Assembly
- Fluxzy.Core.dll
public readonly ref struct DataFrame
- Inherited Members
-
Constructors
public DataFrame(HeaderFlags flags, int bodyLength, int streamIdentifier)
Parameters
flags
HeaderFlags
bodyLength
int
streamIdentifier
int
public DataFrame(ReadOnlyMemory<byte> bodyBytes, HeaderFlags flags, int streamIdentifier)
Parameters
bodyBytes
ReadOnlyMemory<byte>
flags
HeaderFlags
streamIdentifier
int
Properties
BodyLength
public int BodyLength { get; }
Property Value
- int
Buffer
public ReadOnlyMemory<byte> Buffer { get; }
Property Value
- ReadOnlyMemory<byte>
EndStream
public bool EndStream { get; }
Property Value
- bool
StreamIdentifier
public int StreamIdentifier { get; }
Property Value
- int
Methods
public int WriteHeaderOnly(Span<byte> buffer, int bodyLength)
Parameters
buffer
Span<byte>
bodyLength
int
Returns
- int