public void TetsUnsignedLong(ulong number, byte[] data) { MsgPackSpec.ReadUInt64(data, out var readSize).ShouldBe(number); readSize.ShouldBe(data.Length); }
public void ReadUnsignedLong(ulong number, byte[] data) { MsgPackSpec.ReadUInt64(data.ToSingleSegment(), out var readSize).ShouldBe(number); readSize.ShouldBe(data.Length); }