Refactor ListeningStream

Refactor `ListeningStream`:

- Override of `WriteByte` was redundant and removed
- Make `Dispose` delegate to base class
This commit is contained in:
Matt Kotsenas
2018-07-11 14:48:10 -07:00
parent 0473ec1626
commit ee4ae661d7

View File

@@ -20,6 +20,7 @@ namespace SharpCompress.IO
{
Stream.Dispose();
}
base.Dispose(disposing);
}
public Stream Stream { get; }
@@ -74,10 +75,5 @@ namespace SharpCompress.IO
{
Stream.Write(buffer, offset, count);
}
public override void WriteByte(byte value)
{
Stream.WriteByte(value);
}
}
}