code: public static final int asInt(WsByteBuffer buff, int position, int limit) {
          return asInt(asByteArray(buff, position, limit));
      }
docs: Convert a buffer to an int using the starting position and ending limit.
  
  @param buff
  @param position
  @param limit
  @return int