예제 #1
0
 public void Read(byte[] value, byte[] data)
 {
     using (var owner = MsgPackSpec.ReadBinary(data.ToSingleSegment(), out var readSize))
     {
         readSize.ShouldBe(data.Length);
         owner.Memory.ToArray().ShouldBe(value);
     }
 }