First of all, thanks for a great library -- very nice!
My one suggestion is to add an overload on PackBinary that takes these parameters:
Packer PackBinary(byte[] array, int offset, int count)
This is in addition to the ones already there such as:
Packer PackBinary(byte[] value)
This makes it possible to create binary content using MemoryStream etc and not have to copy the array in order for PackBinary to use it. This is for example the case when using gzip'ed content in fluentd.
First of all, thanks for a great library -- very nice!
My one suggestion is to add an overload on PackBinary that takes these parameters:
This is in addition to the ones already there such as:
This makes it possible to create binary content using MemoryStream etc and not have to copy the array in order for PackBinary to use it. This is for example the case when using gzip'ed content in fluentd.
Thanks again!
Henrik