Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Nov 5, 2024
1 parent 008d5b1 commit 871b9fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ await liveClient.Subscribe(new EventHandler<ResultResponse>((sender, e) =>
while (liveClient.IsConnected())
{
byte[] buffer = new byte[2048];
await receiveStream.ReadAsync(buffer, 0, buffer.Length);
await receiveStream.ReadExactlyAsync(buffer);
liveClient.Send(buffer);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static async Task Main(string[] args)
while (liveClient.IsConnected())
{
byte[] buffer = new byte[2048];
await receiveStream.ReadAsync(buffer, 0, buffer.Length);
await receiveStream.ReadExactlyAsync(buffer);
liveClient.Send(buffer);
}
}
Expand Down

0 comments on commit 871b9fc

Please sign in to comment.