Reading ints/chars supported and writing strings