예제 #1
0
        public Stream CreateStream()
        {
            var stream = new MemoryStream();

            Ftst.Write(stream, Palette.ToList());
            return(stream);
        }
예제 #2
0
            public void ShouldWriteTheExactSameFile() => File.OpenRead("kh2/res/ftst.bin").Using(stream =>
            {
                Helpers.AssertStream(stream, x =>
                {
                    var outStream = new MemoryStream();
                    Ftst.Write(outStream, Ftst.Read(x));

                    return(outStream);
                });
            });