Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python convert string to bytes

data = ""  			#string
data = "".encode()	#bytes
data = b"" 			#bytes
data = b"".decode() #string
data = str(b"")  	#string
 
PREVIOUS NEXT
Tagged: #python #convert #string #bytes
ADD COMMENT
Topic
Name
8+3 =