code: public final int getBeInt16() {
          if (position + 1 >= origin + limit) throw new IllegalArgumentException("limit excceed: "
                                                                                 + (position - origin + 1));
  
          byte[] buf = buffer;
          return (buf[position++] << 8) | (0xff & buf[position++]);
      }
docs: Return next 16-bit signed int from buffer. (big-endian)
  
  @see mysql-5.1.60/include/my_global.h - mi_sint2korr