0

下面的代码仅在第一个字节至少应该给出93并且32基于它写入的文件时输出零,但它甚至没有给出它从它制作/编辑的文件中读取的字节数,并且显示了字节

溪流

for (int i = 0; i < size; i++) LZMA[i] = database[i + place];
//uses bytes from another file to get LZMA code

FileStream LZMAFILE = File.Create("LZMAStream.lzma");
//Creates file

LZMAFILE.Write(LZMA);
//writes bytes to file (linked above)

//now I check to see if it can read my file
byte[] properties = new byte[5];
//makes properties array

int bruh = LZMAFILE.Read(properties, 0, 5);
//reads array and gives number of bytes

//returns 0 for everything therefore the dll down there doesn't work

LZMACoder.Decompress(LZMAFILE);
4

0 回答 0