We shouldn't need to worry about encoding here since we own cursor creation and it's always hex.