public static IByteDevice Wrap(IByteInDevice inDevice, IByteOutDevice outDevice) { return(inDevice.NotNull() || outDevice.NotNull() ? new ByteDeviceCombiner(inDevice, outDevice) { Wrapped = true } : null); }
public static IByteDevice Wrap(IByteInDevice inDevice, IByteOutDevice outDevice) { return inDevice.NotNull() || outDevice.NotNull() ? new ByteDeviceCombiner(inDevice, outDevice) { Wrapped = true } : null; }
public static IByteDevice Open(IByteInDevice inDevice, IByteOutDevice outDevice) { return inDevice.NotNull() || outDevice.NotNull() ? new ByteDeviceCombiner(inDevice, outDevice) : null; }
public static IByteDevice Open(IByteInDevice inDevice, IByteOutDevice outDevice) { return(inDevice.NotNull() || outDevice.NotNull() ? new ByteDeviceCombiner(inDevice, outDevice) : null); }
public static ChunkedBlockOutDevice Wrap(IByteOutDevice backend) { return backend.NotNull() ? new ChunkedBlockOutDevice(backend) { Wrapped = true } : null; }
public static ChunkedBlockOutDevice Open(IByteOutDevice backend) { return backend.NotNull() ? new ChunkedBlockOutDevice(backend) : null; }