2024. 9. 19. 16:12

bytes -> str

 

text = by.decode('utf-8')

 

str -> bytes

 

bytedata = text.encode('utf-8')