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