Ejemplo n.º 1
0
        public static RecordType GetNextSubrecordType(
            IMutagenReadStream reader,
            out int contentLength,
            int offset = 0)
        {
            var ret = new RecordType(reader.GetInt32(offset));

            contentLength = GetContentLength(
                reader: reader,
                lengthLength: reader.MetaData.Constants.SubConstants.LengthLength,
                offset: Constants.HeaderLength + offset);
            return(ret);
        }