Closed Gsantomaggio closed 2 years ago
At the moment we expose the Size property with also the AMQP10 header size. This could be misleading for the user, we have two ways:
Size
BufferSize
https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/blob/main/RabbitMQ.Stream.Client/AMQP/Data.cs#L24
Any Idea?
This is correct in that way. If you want to know the total size it is correct to have also the header information
At the moment we expose the
Size
property with also the AMQP10 header size. This could be misleading for the user, we have two ways:Size
(maybe renamed withBufferSize
) internal and provide a publicSize
with the correctSize
Size
propertyhttps://github.com/rabbitmq/rabbitmq-stream-dotnet-client/blob/main/RabbitMQ.Stream.Client/AMQP/Data.cs#L24
Any Idea?