export EncodeValue and String func