diff --git a/native/message-parser.c b/native/message-parser.c index 603f5db..790885c 100644 --- a/native/message-parser.c +++ b/native/message-parser.c @@ -9,16 +9,7 @@ int main (int argc, char *argv[]) { for (int i = 0; i < INT_SIZE; i++) buffer[i] = getchar(); - /* - for (int i = 0; i < INT_SIZE / 2; i++) { - unsigned char temp = buffer[i]; - buffer[i] = buffer[INT_SIZE - 1 - i]; - buffer[INT_SIZE - 1 - i] = temp; - } - */ - int charactersToRead = *(int*)buffer; - // printf("charactersToRead: %d", charactersToRead); free(buffer); buffer = (unsigned char*)malloc(charactersToRead + 1);