Creates a buf w/ the length of the bytes, and then writes the bytes to the Buffer
Creates a buf w/ the length of the bytes, and then writes the bytes to the Buffer
a Buf with the bytes already written
Creates a buf w/ the specified length
Creates a buf w/ the specified length
a Buf with an initial capacity set to length
Computes the length of an Array needed to hold all the bytes from a String + NULL
Computes the length of an Array needed to hold all the bytes from a String + NULL
the String to calculate the length of
the Charset to base this calculation off of ( defaults to UTF-8 )
length an Int
representing the length of an array
a NULL terminated string is referred to as a C-Style string
Helper method for lenghtOfCStyleString
A Buf based on a Netty-4 ByteBuffer
As of this moment we are using Unpooled Buffers, but this may change in the near future.