/// <inheritdoc /> public void Serialize(string fileName, SaveFileModel save) { using (var stream = File.Open(fileName, FileMode.Open)) { _bwriter.Open(stream); _breader.Open(stream); Serialize(save); _breader.Close(); _bwriter.Close(); } }
public void OpenStreamTest() { _bwriter.Open(_testStream); Assert.True(_testStream.CanWrite); }