[cleanup] Remove dead toHBuffer