12 bytesRead = bytesRead2 + bytesRead3;
25 buffer[0] = (byte)frameType;
29 bytesWritten = bytesWritten2 + 1;
static bool TryWriteFrameEnvelope(Http3FrameType frameType, long payloadLength, Span< byte > buffer, out int bytesWritten)
static bool TryReadIntegerPair(ReadOnlySpan< byte > buffer, out long a, out long b, out int bytesRead)
static bool TryRead(ReadOnlySpan< byte > buffer, out long value, out int bytesRead)
static bool TryWrite(Span< byte > buffer, long longToEncode, out int bytesWritten)