示例#1
0
文件: ByteDevice.cs 项目: Spaxys/Kean
 public static IByteDevice Open(Uri.Locator input, Uri.Locator output)
 {
     return(ByteDeviceCombiner.Open(ByteDevice.Open(input), ByteDevice.Create(output)));
 }
示例#2
0
 public static IByteDevice Wrap(IByteOutDevice outDevice)
 {
     return(ByteDeviceCombiner.Wrap(null, outDevice));
 }
示例#3
0
 public static IByteDevice Wrap(IByteInDevice inDevice)
 {
     return(ByteDeviceCombiner.Wrap(inDevice, null));
 }
示例#4
0
 public static IByteDevice Open(System.IO.Stream input, System.IO.Stream output)
 {
     return(ByteDeviceCombiner.Open(ByteDevice.Open(input), ByteDevice.Open(output)));
 }
示例#5
0
 public static IByteDevice Open(IByteOutDevice outDevice)
 {
     return(ByteDeviceCombiner.Open(null, outDevice));
 }
示例#6
0
 public static IByteDevice Open(IByteInDevice inDevice)
 {
     return(ByteDeviceCombiner.Open(inDevice, null));
 }