Example #1
0
        public PofStream CreatePofStream(IStream stream)
        {
            var reader = new PofStreamReaderImpl(serializer, stream);
            var writer = new PofStreamWriterImpl(serializer, stream);

            return(new PofStreamImpl(stream, reader, writer));
        }
Example #2
0
        public PofStreamWriterImplTests()
        {
            testObj = new PofStreamWriterImpl(serializer, stream);

            When(stream.Writer).ThenReturn(writer);
        }