예제 #1
0
        public void Read(long seconds, uint nanoSeconds, byte[] data)
        {
            var x = MsgPackSpec.ReadTimestamp(data, out var readSize);

            readSize.ShouldBe(data.Length);
            x.Seconds.ShouldBe(seconds);
            x.NanoSeconds.ShouldBe(nanoSeconds);
        }