code: @SuppressWarnings("unused")
      private int readAMF3IntegerNew() {
          int b = buf.get() & 0xFF;
          if (b < 128) {
              return b;
          }
          int value = (b & 0x7F) << 7;
          b = buf.get() & 0xFF;
          if (b < 128) {
              return (value | b);
          }
          value = (value | b & 0x7F) << 7;
          b = buf.get() & 0xFF;
          if (b < 128) {
              return (value | b);
          }
          value = (value | b & 0x7F) << 8;
          b = buf.get() & 0xFF;
          return (value | b);
      }
docs: Read UInt29 style