目前我有一个源文件,其中有base64编码的数据(大小约为20MB)。我想要从这个文件中读取,解码数据,并写入.TIF输出文件。然而,我不想一次解码所有20MB的数据。我想从源文件中读取特定数量的字符/字节,将其解码并写入目标文件。我知道我从源文件读取的数据的大小必须是4的倍数,否则就无法解码?下面是我的当前代码,我一次将其全部解码 public write Output(File file){
BufferedReader br = new
我在php上有这个类: public function Generate($ipAddress, $secretKey, $comercio, $sucursal, $amount)*$amount");
var inputArray = utf8.encode(input); // I get an array with numbers here, while in php