Table of Contents

Class EncodingExtensions

Namespace
Fluxzy.Clients.H2.Encoder.Utils
Assembly
Fluxzy.Core.dll
public static class EncodingExtensions
Inheritance
EncodingExtensions
Inherited Members

Methods

GetBytes(Encoding, ReadOnlySpan<char>, Span<byte>)

public static Span<byte> GetBytes(this Encoding encoding, ReadOnlySpan<char> rawChars, Span<byte> buffer)

Parameters

encoding Encoding
rawChars ReadOnlySpan<char>
buffer Span<byte>

Returns

Span<byte>

GetChars(Encoding, ReadOnlySpan<byte>, Span<char>)

public static Span<char> GetChars(this Encoding encoding, ReadOnlySpan<byte> rawBytes, Span<char> buffer)

Parameters

encoding Encoding
rawBytes ReadOnlySpan<byte>
buffer Span<char>

Returns

Span<char>

Exceptions

HPackCodecException