internal static SerializedFileScheme ReadSceme(SmartStream stream, string filePath, string fileName) { SerializedFileScheme scheme = new SerializedFileScheme(stream, filePath, fileName); scheme.ReadScheme(); return(scheme); }
internal static SerializedFileScheme ReadSceme(SmartStream stream, long offset, long size, string filePath, string fileName, TransferInstructionFlags flags) { SerializedFileScheme scheme = new SerializedFileScheme(stream, offset, size, filePath, fileName, flags); scheme.ReadScheme(); return(scheme); }
internal static SerializedFileScheme ReadSceme(byte[] buffer, string filePath, string fileName) { SerializedFileScheme scheme = new SerializedFileScheme(buffer, filePath, fileName); scheme.ReadScheme(); return(scheme); }