public void ReadNull()
{
MemoryStream stream = new MemoryStream();
OutputChannel output = new OutputChannel(new BinaryWriter(stream));
output.Write(null);
stream.Seek(0, SeekOrigin.Begin);
InputChannel channel = new InputChannel(new BinaryReader(stream));
Assert.IsNull(channel.Read());
}