Haze.Pck/PckExtensions.cs
/// <summary>
/// Adds entry from specified stream.
/// </summary>
/// <param name="resPath">The resPath to entry. It should start with res://</param>
Adds entry from specified stream.
Adds entry from specified stream .
public static void Add(this PckPacker source, string resPath, Stream stream)
        {
            if (source is null)
                throw new ArgumentNullException(nameof(source));
            source.Add(new PckPackerEntryStream(resPath, stream));
        }
public static void Add ( this PckPacker source , string resPath , Stream stream ) { if ( source is null ) throw new ArgumentNullException ( nameof ( source ) ) ; source . Add ( new PckPackerEntryStream ( resPath , stream ) ) ; }
Adds entry from specified stream.
Adds entry from specified stream .
PckPacker
this
resPath
string
The resPath to entry. It should start with res.
The resPath to entry . It should start with res .
stream
Stream