When yao Bena is selected, the sound fails. The brilliant appearance of "we are together", just like her singing, the higher the song, the higher the song.
File Processing, encryption and decryption, encryption and decompression, split and merge. In the spirit of "Fast boat", it took two days to write a small program, which is basically suitable for personal use. Main classFileProcessAs follows:
Dir = ConfigurationManager. deleettings [(! Dir. endsWith (+ = now = DateTime. now. toString (). replace (,). replace (,). replace (,) + = File. create (OutDir + now + = File. create (OutDir + now + Encrypt (= [] buf === cryPath = OutPath (filePath) + = (item Decrypt (= [] buf = tempPath = index = tempPath. lastIndexOf (= tempPath. substring (= (item = File. openRead ([] bufKey === File. openRead ([] bufIV = OutPath (index = filePath. lastIndexOf (fileName = OutDir + Compress (= [] buf = gzipPath = OutPath (filePath) + = Decompress (path = index = path. lastIndexOf (= path. substring (=== Split (filePath, = size = (fs. length + count-)/[] buf = (I =; I <count; I ++ len = fs. read (buf, path = OutPath (filePath) ++ I. toString () + = Combine (IList <> first = I = first. lastIndexOf (= first. substring (, I); I = first. lastIndexOf (= first. substring (, I); I = first. lastIndexOf (ext = first. substring (I); path = OutDir ++ ext. replace (, = (item = [] buf = len = fsSub. read (buf,FileProcess
All operations are saved in the output directory. This is mainly for simplicity.
Output directory, which is configured. This is mainly for flexibility.
Source code can be found in my blogX01.Lab. Download.