You are going to read 16 bytes from a binary file into a bytearray called data. Which lines would you use? (Select two answers)
data = bytearray (16) bf.readinto (data)
data = binfile.read (bytearray (16))
bf. readinto (data = bytearray (16))
data = bytearray (binfile.read (16))
https://docs.python.org/3/library/functions.html#func-by tearray
https://docs.python.org/3/library/io.html
Submit