parameters: (self, start, end, pad, size)
return_statement: return bin
docstring: Return binary array.
docstring_summary: Return binary array.
docstring_tokens: Return binary array .
function: def _tobinarray_really(self, start, end, pad, size):
          """Return binary array."""
          if pad is None:
              pad = self.padding
          bin = array('B')
          if self._buf == {} and None in (start, end):
              return bin
          if size is not None and size <= 0:
              raise ValueError("tobinarray: wrong value for size")
          start, end = self._get_start_end(start, end, size)
          for i in range_g(start, end+1):
              bin.append(self._buf.get(i, pad))
          return bin
function_tokens: def _tobinarray_really ( self , start , end , pad , size ) : if pad is None : pad = self . padding bin = array ( 'B' ) if self . _buf == { } and None in ( start , end ) : return bin if size is not None and size <= 0 : raise ValueError ( "tobinarray: wrong value for size" ) start , end = self . _get_start_end ( start , end , size ) for i in range_g ( start , end + 1 ) : bin . append ( self . _buf . get ( i , pad ) ) return bin