class HexPrinter {

    public static String hex( ByteBuffer bytes, int offset, int length )
    {
        return hex( bytes, offset, length, DEFAULT_BYTES_PER_GROUP, DEFAULT_GROUP_SEPARATOR );
    }

    public  HexPrinter( PrintStream out );
    public  HexPrinter( PrintStream out, int bytesPerGroup, String groupSep );

}