@Override
  public byte[] getSerializedValue() {
    byte[] value = getRawBytes();
    if (!isSerialized()) {
      value = EntryEventImpl.serialize(value);
    }
    return value;
  }
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