Wrote base-d2h and base-h2d.