Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Programming • How to read and write Huge files with GMP ? I need great processing of data in files as binary

$
0
0
Decimal (integer) numbers are written in ASCII characters only. It uses only bytes with codes 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39.
Arbitrary binary data (which can be anticipated in mentioned Archive Files and also Disk Images) can contain any bytes, i.e. all values from 0x00, 0x01, 0x02,… 0xFF.
You can see them in command man ascii it console/terminal emulator.
When you use fread and fwrite in cycles (e.g. while, for), you can read and write any size of data.

Statistics: Posted by ruwolf — 2024-06-23 05:12 — Replies 3 — Views 68



Viewing all articles
Browse latest Browse all 3567

Trending Articles