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