@Override
      public void putLength(final ByteBuffer target,
                            final int offset,
                            final int length) {
        if (length < 0 || length > MAX_CAPACITY) {
          throw new IllegalArgumentException("length(" + length + ") must be in [0, " + MAX_CAPACITY + "]");
        }
        final int headerBytes1_4 = target.getInt(offset + 1);
        final int headerBytes1_4_New = (headerBytes1_4 & (~LENGTH_MASK)) | (length & LENGTH_MASK);
        target.putInt(offset + 1, headerBytes1_4_New);
      }
@Override
      public void putLength(final ByteBuffer target,
                            final int offset,
                            final int length)