mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-20 12:53:02 +00:00
Fixed original data not available in socket parsing
This commit is contained in:
@@ -254,6 +254,8 @@ namespace CryptoExchange.Net.Converters.SystemTextJson
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public bool Read(ReadOnlyMemory<byte> data)
|
public bool Read(ReadOnlyMemory<byte> data)
|
||||||
{
|
{
|
||||||
|
_bytes = data;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_document = JsonDocument.Parse(data);
|
_document = JsonDocument.Parse(data);
|
||||||
|
|||||||
Reference in New Issue
Block a user