mirror of
https://github.com/soukoku/ntwain.git
synced 2025-06-28 15:28:06 +08:00
40 lines
756 B
C#
40 lines
756 B
C#
![]() |
using System;
|
|||
|
using System.IO;
|
|||
|
|
|||
|
namespace WinUI3
|
|||
|
{
|
|||
|
internal class NoOpStream : Stream
|
|||
|
{
|
|||
|
public override bool CanRead => false;
|
|||
|
|
|||
|
public override bool CanSeek => false;
|
|||
|
|
|||
|
public override bool CanWrite => true;
|
|||
|
|
|||
|
public override long Length => 0;
|
|||
|
|
|||
|
public override long Position { get => 0; set { } }
|
|||
|
|
|||
|
public override void Flush()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public override int Read(byte[] buffer, int offset, int count)
|
|||
|
{
|
|||
|
throw new NotImplementedException();
|
|||
|
}
|
|||
|
|
|||
|
public override long Seek(long offset, SeekOrigin origin)
|
|||
|
{
|
|||
|
throw new NotImplementedException();
|
|||
|
}
|
|||
|
|
|||
|
public override void SetLength(long value)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public override void Write(byte[] buffer, int offset, int count)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|