croot: add r/w slices example