Plugin Strings

Memory

0 1 2 3 4 5 6 7 8 9 10
® 0 0 0 0 d o u b l e

# #![allow(unused_variables)]
#fn main() {
//                0,1,2,3,4, 5 , 6 , 7 , 8 , 9 , 10
let memory = vec![0,0,0,0,0,100,111,117,98 ,108,101];
//                ®,0,0.0.0, d , o , u , b , l , e
let wi_len = vec![0,0,0,0,6,100,111,117,98 ,108,101];
//                 [ 6u32 ], d , o , u , b , l , e
let double = vec![0,0,0,0,12,100,111,117,98 ,108,101,100,111,117,98 ,108,101]
//                [ 12u32 ] , d , o , u , b , l , e , d , o , u , b , l , e
#}

Code!

with a little unsafe