1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-08 00:16:27 +00:00

Fixed original data not available in socket parsing

This commit is contained in:
JKorf 2024-03-18 15:29:42 +01:00
parent 034eb83bae
commit 87f5e12b60

View File

@ -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);