public void Raw16() { MsgPackWriter writer = new MsgPackWriter(Allocator.Temp); writer.WriteRawBigEndian16(ushort.MinValue); writer.WriteRawBigEndian16(ushort.MaxValue); MsgPackReader reader = new MsgPackReader(writer.ToArray(Allocator.Temp)); Assert.That(reader.ReadRawBigEndian16(), Is.EqualTo(ushort.MinValue)); Assert.That(reader.ReadRawBigEndian16(), Is.EqualTo(ushort.MaxValue)); }