get the extension bytes as i32 type instead of a pointer, which feels more correct even though the result is the same