简体   繁体   中英

How copy bufferedreader into bufferedwriter for pdf files in android

How can I copy BufferedReader into BufferedWriter for pdf files in android?

The problem is I want to copy a file with gms library (I can't download with gms, just copy) so if I read every row with BufferedReader how can I copy with BufferedWriter and save pdf files? Every idea is appreciated Thank's

You can't. Readers and Writers are for character data. PDF files are binary. You should be using InputStreams and OutputStreams.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM