Add fill and write function for CharInfo