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