Efficiently concatenate another ByteString.
Returns a read-only ByteBuffer that directly wraps this ByteString if it is not fragmented.
Scala API: Returns an immutable Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments.
Decodes this ByteString using a charset to produce a String.
Create a new ByteString with all contents compacted into a single, full byte array.
Java API: efficiently concatenate another ByteString.
Copy as many bytes as possible to a ByteBuffer, starting from it's current position.
a ByteBuffer to copy bytes to
the number of bytes actually copied
Java API: Returns an Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments.
Check whether this ByteString is compact in memory.
map method that will automatically cast Int back into Byte.
(Changed in version 2.9.0) The behavior of
scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
Java API: copy this ByteString into a fresh byte array
Creates a new ByteBuffer with a copy of all bytes contained in this ByteString.
(Changed in version 2.9.0)
transpose throws an
IllegalArgumentException if collections are not uniformly sized.
Decodes this ByteString as a UTF-8 encoded String.