class SerializedEvent {

    public InputStream asInputStream() {
        return new ByteArrayInputStream(serializedData);
    }

    public  SerializedEvent(Event event);
    public  SerializedEvent(byte[] eventFromFile);
    public  SerializedEvent(InputStream event);

}