From 949fc953dad2cf2f53f15d80c0fdcfbaeb93b143 Mon Sep 17 00:00:00 2001 From: christian <6939810+chkr1011@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:41:20 +0200 Subject: [PATCH] Fix build errors --- Source/MQTTnet.Benchmarks/SerializerBenchmark.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet.Benchmarks/SerializerBenchmark.cs b/Source/MQTTnet.Benchmarks/SerializerBenchmark.cs index 7b70beb7..0ddea15f 100644 --- a/Source/MQTTnet.Benchmarks/SerializerBenchmark.cs +++ b/Source/MQTTnet.Benchmarks/SerializerBenchmark.cs @@ -105,7 +105,7 @@ public Task ReadAsync(byte[] buffer, int offset, int count, CancellationTok return Task.FromResult(count); } - public Task WriteAsync(ArraySegment buffer, bool isEndOfPacket, CancellationToken cancellationToken) + public Task WriteAsync(ReadOnlySequence buffer, bool isEndOfPacket, CancellationToken cancellationToken) { throw new NotSupportedException(); }