public void ReadVirtualArrayEndChar0Test1() { byte[] array = "736D616C6C636869286B6F696B652900".ToHexBytes(); var reader = new JT808MessagePackReader(array); var str = reader.ReadVirtualStringEndChar0(); Assert.Equal("smallchi(koike)", str); Assert.Equal(0, reader.ReaderCount); }