1. A non-transitory computer readable medium tangibly storing a Java computer program written in the Java programming language for emulating the memory management of a C computer program written in the C programming language, wherein the C program comprises: instructions for allocating a memory area, instructions for defining at least one data structure, instructions for defining at least one pointer to the allocated memory area in accordance with the at least one data structure; and wherein the Java program comprises instructions for: providing a Java byte array for emulating the allocated memory area of the C program; providing at least one Java object, different from the Java byte array, for emulating the at least one data structure of the C program; wherein the at least one Java object uses at least one Java ByteBuffer object for emulating the at least one pointer of the C program; and uses bit operations to access the Java byte array in accordance with the at least one Java object.