public void TetsUnsignedInt(uint number, byte[] data) { MsgPackSpec.ReadUInt32(data, out var readSize).ShouldBe(number); readSize.ShouldBe(data.Length); }
public void ReadUnsignedInt(uint number, byte[] data) { MsgPackSpec.ReadUInt32(data.ToSingleSegment(), out var readSize).ShouldBe(number); readSize.ShouldBe(data.Length); }