NullIO Class
Definition
A null implementation of I/O operations that returns a constant value for reads and ignores writes.
public sealed class NullIO : IIOReader, IIOWriter
View source
Constructors
| Name |
Description |
| NullIO(Byte) |
A null implementation of I/O operations that returns a constant value for reads and ignores writes. |
Methods
| Name |
Description |
| Read(UInt16) |
Reads a byte from the specified I/O port. |
| Write(UInt16, Byte) |
Writes a byte to the specified I/O port. This implementation ignores the write operation. |