internal static WebFileScheme ReadScheme(SmartStream stream, long offset, long size, string filePath, string fileName) { WebFileScheme scheme = new WebFileScheme(stream, offset, size, filePath, fileName); scheme.ReadScheme(); scheme.ProcessEntries(); return(scheme); }
internal WebFile(IFileCollection collection, WebFileScheme scheme) { if (scheme == null) { throw new ArgumentNullException(nameof(scheme)); } Header = scheme.Header; Metadata = scheme.Metadata; }
public static WebFileScheme ReadScheme(SmartStream stream, long offset, long size, string filePath, string fileName) { return(WebFileScheme.ReadScheme(stream, offset, size, filePath, fileName)); }