/// <summary>
        /// Reads a single metadata stream header from an input stream.
        /// </summary>
        /// <param name="reader">The input stream.</param>
        /// <returns>The header.</returns>
        public static MetadataStreamHeader FromReader(ref BinaryStreamReader reader)
        {
            uint   offset = reader.ReadUInt32();
            uint   size   = reader.ReadUInt32();
            string name   = reader.ReadAsciiString();

            reader.Align(4);
            return(new MetadataStreamHeader(offset, size, name));
        }