chg: moved char_ptr_bin to ring.cc because of tests