Creates a new CompactByteString by encoding a String with a charset.
Creates a new CompactByteString by encoding a String as UTF-8.
Creates a new CompactByteString by copying bytes from a ByteBuffer.
Creates a new CompactByteString by converting from integral numbers to bytes.
Creates a new CompactByteString by copying bytes.
Creates a new CompactByteString by copying a byte array.
Creates a new CompactByteString by copying length bytes starting at offset from an Array.