Beispiel #1
0
 public void TestSignedByte(sbyte number, byte[] data)
 {
     MsgPackSpec.ReadInt8(data, out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }
Beispiel #2
0
 public void ReadSignedByte(sbyte number, byte[] data)
 {
     MsgPackSpec.ReadInt8(data.ToSingleSegment(), out var readSize).ShouldBe(number);
     readSize.ShouldBe(data.Length);
 }