Use getBytesUnsafe instead of getBytes