nats-io / stan.net

The official NATS .NET C# Streaming Client
Apache License 2.0
137 stars 41 forks source link

Implement Publish/PublishAsync overloads with offset and length for byte array #194

Open Semax opened 3 years ago

Semax commented 3 years ago

NATS client has overloads for Publish method accepting byte array along with offset and length of data to be used. It'd be great to have the same for STAN client. This will allow to have more options for message serialization and array recycling.

Thanks.