public static BlockStream Wrap(IBlockDevice device) { return device.NotNull() ? new BlockStream(device) { CatchClose = true } : null; }
public static BlockStream Open(IBlockDevice device) { return device.NotNull() ? new BlockStream(device) : null; }