<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def barray(iterlines):
 """ Array of bytes """

    lst = [line.encode('utf-8') for line in iterlines]
    arr = numpy.array(lst)
    return arr