public static IByteDevice Wrap(System.IO.Stream stream) { return stream.NotNull() ? new ByteDevice(stream) { Wrapped = true } : null; }
public static IByteDevice Open(System.IO.Stream stream) { return stream.NotNull() ? new ByteDevice(stream) : null; }