class_docstr: A strategy for strings of bytes, defined in terms of a strategy for
  lists of bytes.
class_docstr_tok: ["A","strategy","for","strings","of","bytes",",","defined","in","terms","of","a","strategy","for","lists","of","bytes","."]
code: def pack(self, x):
      assert isinstance(x, list), repr(x)
      ba = bytearray(x)
      return binary_type(ba)
  
imports: from __future__ import absolute_import, division, print_function
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal import charmap
  from hypothesis.internal.compat import binary_type, hunichr
  from hypothesis.internal.conjecture.utils import integer_range
  from hypothesis.internal.intervalsets import IntervalSet
  from hypothesis.strategies._internal.strategies import MappedSearchStrategy, SearchStrategy
label_desc: Use image node_id 2 for calling the BinaryStringStrategy obj's underlying member method code with example usage: obj.pack(x) and returns: binary_type