/// <summary> /// Read from stream the sfp file header. /// </summary> /// <param name="strm">Sfp stream data.</param> /// <returns>Sfp file header.</returns> private static unsafe SfpHeader ReadHeader(Stream strm) { Byte[] data = new Byte[sizeof(SfpHeader)]; strm.Seek(0, SeekOrigin.Begin); strm.Read(data, 0, data.Length); return(SfpHeader.CreateFromBytes(data)); }