Search:

Type: Posts; User: jirkaj4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    994

    And I have this function. And this function...

    And I have this function. And this function create xy files from one file by size.


    int splitFile(char *fileIn, size_t maxSize)
    {
    int result = 0;
    FILE *fIn;
    FILE *fOut;
    char...
  2. Replies
    6
    Views
    994

    How to parse my buffer by size?

    Hello.

    I need your help.

    I have a buffer (there are my data from binary file)

    char *buffer;

    And I know lenght of buffer (it is size of my binary file)
  3. Replies
    4
    Views
    847

    Problem was in print function. for(int i...

    Problem was in print function.



    for(int i = 0; i < fileLen; i++ )
    {
    if( i % 16 == 0 )
    {
    fprintf(stderr, "\n%08X: ", i );
    }
  4. Replies
    4
    Views
    847

    Ok, I modifiy this function. //Do what...

    Ok, I modifiy this function.



    //Do what ever with buffer
    for(int i = 0; i < fileLen; i++ )
    {
    if( i % 16 == 0 )
    {
    fprintf(stderr, "\n%08X: ", i );
  5. Replies
    4
    Views
    847

    Print hexadecimal bin file

    Hello.

    I have a question. I need print my bin file in hexadecimal. I have function


    void ReadFile(char *name){
    FILE *file;
    char *buffer;
    unsigned long fileLen;
Results 1 to 5 of 5