Bytes

 0    4 fiszki    jakitaki
ściągnij mp3 drukuj graj sprawdź się
 
Pytanie English Odpowiedź English
Prefix to create bytes
rozpocznij naukę
b'your text' - works for characters encoded by a single byte, code-point lies between 0 and 255 inclusively. A string containing characters other than these will lead to a syntax error.
function to convert string to bytes
rozpocznij naukę
encode - default as utf-8
all purpose function to convert data to bytes
rozpocznij naukę
bytes, requires encoding. A list of integers from 0 to 255 without encoding. With bigger integers to_bytes
function to create mutable bytes
rozpocznij naukę
bytearray

Musisz się zalogować, by móc napisać komentarz.