byte code file read in c code example
Example 1: read a binary file c
unsigned char buffer[10];
FILE *ptr;
ptr = fopen("test.bin","rb"); // r for read, b for binary
fread(buffer,sizeof(buffer),1,ptr); // read 10 bytes to our buffer
Example 2: reading from a binary file
public static main(String[] args)
{
Fileinputsream = new FileInputStream("");
buffered
}