예제 #1
0
 public void TetsUnsignedByte(byte number, byte[] data)
 {
     MsgPackSpec.ReadUInt8(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
예제 #2
0
 public void ReadUnsignedByte(byte number, byte[] data)
 {
     MsgPackSpec.ReadUInt8(data.ToSingleSegment(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }