Serializer
The public API for `Serializer` doesn't provide enough information to just read out all bytes (since there's no way to get the stream's length). This is the most minimal change that can be made to Stella's internals to support state serialization