Exemple #1
0
        public void Deserialize(ref ReadOnlySpan <byte> buffer)
        {
            Count = BinSerialize.ReadPackedUnsignedInteger(ref buffer);
            var arraySize = BinSerialize.ReadPackedUnsignedInteger(ref buffer);

            Data = BinSerialize.ReadBlock(ref buffer, (int)arraySize);
        }