Table of Contents

Struct DataFrame

Namespace
Fluxzy.Clients.H2.Frames
Assembly
Fluxzy.Core.dll
public readonly ref struct DataFrame
Inherited Members

Constructors

DataFrame(HeaderFlags, int, int)

public DataFrame(HeaderFlags flags, int bodyLength, int streamIdentifier)

Parameters

flags HeaderFlags
bodyLength int
streamIdentifier int

DataFrame(ReadOnlyMemory<byte>, HeaderFlags, 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

WriteHeaderOnly(Span<byte>, int)

public int WriteHeaderOnly(Span<byte> buffer, int bodyLength)

Parameters

buffer Span<byte>
bodyLength int

Returns

int