parameters: (buf)
return_statement: return ir.Constant(ir.ArrayType(ir.IntType(8), n), b)
docstring: Make a byte array constant from *buf*.
docstring_summary: Make a byte array constant from *buf*.
docstring_tokens: Make a byte array constant from * buf * .
function: def make_bytearray(buf):
      """
      Make a byte array constant from *buf*.
      """
      b = bytearray(buf)
      n = len(b)
      return ir.Constant(ir.ArrayType(ir.IntType(8), n), b)
function_tokens: def make_bytearray ( buf ) : b = bytearray ( buf ) n = len ( b ) return ir . Constant ( ir . ArrayType ( ir . IntType ( 8 ) , n ) , b )