code: public static Buffer consumeAlphaNum(final Buffer buffer) throws IOException {
          final int count = getAlphaNumCount(buffer);
          if (count == 0) {
              return null;
          }
          return buffer.readBytes(count);
      }
docs: Consumes a alphanum.
  
  @param buffer
  @return
  @throws IOException