add getHandle method to variable (get rid of unsafe.Pointer(&v.dataBytes[pos*v.typ.size]))