public void Read(Stream stream, DbEnvironment env, IFormatToken previousFormatToken) { Logger.Instance?.WriteLine($"<- {Type}"); var remainingLength = stream.ReadUInt(); using (var ts = new ReadablePartialStream(stream, remainingLength)) { var formats = new List <FormatItem>(); var columnCount = ts.ReadUShort(); for (var i = 0; i < columnCount; i++) { formats.Add(FormatItem.ReadForRow(ts, env.Encoding, Type)); } Formats = formats.ToArray(); } }