Beispiel #1
0
        internal T NextAuto <T>(ref int index, IPacketConverter converter)
        {
            var tmp = index;

            MoveNext(converter.Length, ref tmp, out var len);
            var res = converter.GetValueWrapAuto <T>(buffer, tmp, len);

            index = tmp + len;
            return(res);
        }