RawUtf8JsonString Constructors
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: RawUtf8JsonString.cs
RawUtf8JsonString(ReadOnlyMemory<byte>, byte[])
Initializes a new instance of the RawUtf8JsonString struct.
public RawUtf8JsonString(ReadOnlyMemory<byte> utf8Bytes, byte[] extraRentedArrayPoolBytes)
Parameters
| Name | Type | Description |
|---|---|---|
utf8Bytes |
ReadOnlyMemory<byte> |
The UTF-8 bytes representing the JSON string. |
extraRentedArrayPoolBytes |
byte[] |
Additional rented bytes from the array pool, if any. (optional) |
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests.
Open an issue