public static void writeToMemory ( byte [ ] src , Object target , long targetOffset ) { Platform . copyMemory ( src , Platform . BYTE_ARRAY_OFFSET , target , targetOffset , src . length ) ; }
Writes the content of a byte array into a memory address identified by an object and an offset . The target memory address must already been allocated and have enough space to hold all the bytes in this string .