allow ucharbuf::len to be read and modified