Haze.Pck/PckFile.cs
/// <summary>
/// Opens a PckArchive on the specified path for reading.
/// </summary>
/// <param name="pckFileName">The path to pck file</param>
Opens a PckArchive on the specified path for reading.
Opens a PckArchive on the specified path for reading .
public static PckArchive Open(string pckFileName)
        {
            if (pckFileName is null)
                throw new ArgumentNullException(nameof(pckFileName));
            var fs = File.OpenRead(pckFileName);
            return new PckArchive(fs, leaveOpen: false);
        }
public static PckArchive Open ( string pckFileName ) { if ( pckFileName is null ) throw new ArgumentNullException ( nameof ( pckFileName ) ) ; var fs = File . OpenRead ( pckFileName ) ; return new PckArchive ( fs , leaveOpen : false ) ; }
Opens a PckArchive on the specified path for reading.
Opens a PckArchive on the specified path for reading .
pckFileName
string
The path to pck file
The path to pck file