Efficient conversion of values into readable byte strings