public static ByteBuffer putInlineEntry(ByteBuffer buffer,
                                            int attributeId,
                                            byte[] newValueBytes,
                                            int newValueSize) {
      assert buffer.remaining() >= entrySizeForInlineValueSize(attributeId, newValueSize) :
        "buffer(pos:" + buffer.position() + ", lim:" + buffer.limit() + ") " +
        "is too small for inline attribute " + newValueSize + " (+8b header)";

      putInlineEntryHeader(buffer, attributeId, newValueSize);
      return putInlineEntryValue(buffer, newValueBytes, newValueSize);
    }
public static ByteBuffer putInlineEntry(ByteBuffer buffer,
                                            int attributeId,
                                            byte[] newValueBytes,
                                            int newValueSize)