Restores SampleDataEvent to create a ByteArray.