@Override
  public void fillSerializedValue(BytesAndBitsForCompactor wrapper, byte userBits) {
    byte[] value;
    if (isSerialized()) {
      value = getSerializedValue();
      userBits = EntryBits.setSerialized(userBits, true);
    } else {
      value = (byte[]) getDeserializedForReading();
    }
    wrapper.setData(value, userBits, value.length, true);
  }
If we contain a byte[] return it. Otherwise return the serialize bytes in us in a byte array.
geode-core/src/main/java/org/apache/geode/internal/offheap/TinyStoredObject.java