Binary
Binary
is a reference counted Byte
buffer.
The primary use case is to be able to pass incoming data to multiple threads for processing, or for using
multiple threads to dispatch a block of data to multiple destinations. As the threads completes their work
the reference count will be decremented until the final Binary
is destroyed and the reference count reaches 0
, causing the internal buffer to be deleted.