public static class TranscoderUtils.ByteBufToArray
A class that holds information from a ByteBuf that allows to
read its corresponding byte array. Offset and length are needed in case
the ByteBuf is directly backed by a byte but the size of the byte isn't
representative of the actual size of the current content.