public void UInt32Test() { MsgPackWriter writer = new MsgPackWriter(Allocator.Temp); writer.WriteInteger(uint.MinValue); writer.WriteInteger(uint.MaxValue); writer.WriteInteger((uint)0); MsgPackReader reader = new MsgPackReader(writer.ToArray(Allocator.Temp)); Assert.That(reader.ReadUInt32(), Is.EqualTo(uint.MinValue)); Assert.That(reader.ReadUInt32(), Is.EqualTo(uint.MaxValue)); Assert.That(reader.ReadUInt32(), Is.EqualTo(0)); }