Encode bytes or utf8 string to string
Data to be encoded to string
Optional
Should have padding. Defaults: true
Encode bytes or utf8 string to string