public Stream CreateStream() { var stream = new MemoryStream(); Ftst.Write(stream, Palette.ToList()); return(stream); }
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); }); });