Haze.Pck/PckFile.cs
/// <summary>
/// Creates a PckPacker to the path.
/// </summary>
/// <param name="pckFileName">The pck path to write</param>
Creates a PckPacker to the path.
Creates a PckPacker to the path .
public static PckPacker Create(string pckFileName)
        {
            if (pckFileName is null)
                throw new ArgumentNullException(nameof(pckFileName));
            var fs = File.Create(pckFileName);
            return new PckPacker(fs, leaveOpen: false);
        }
public static PckPacker Create ( string pckFileName ) { if ( pckFileName is null ) throw new ArgumentNullException ( nameof ( pckFileName ) ) ; var fs = File . Create ( pckFileName ) ; return new PckPacker ( fs , leaveOpen : false ) ; }
Creates a PckPacker to the path.
Creates a PckPacker to the path .
pckFileName
string
The pck path to write
The pck path to write