Example #1
0
        public static Int16[] ReadInt16Array(this ObjectReader reader)
        {
            var length = reader.ReadInt32();

            Int16[] value = new Int16[length];
            for (int i = 0; i < length; i++)
            {
                value[i] = reader.ReadInt16();
            }
            return(value);
        }