@Override
  public byte[] getSerializedValue() {
    Object v = value;
    if (v instanceof byte[]) {
      return (byte[]) v;
    }
    return EntryEventImpl.serialize(v);
  }
Return the serialized value as a byte[]
geode-core/src/main/java/org/apache/geode/internal/cache/VMCachedDeserializable.java