Searched refs:initial_bytes (Results 1 – 8 of 8) sorted by relevance
390 let initial_bytes = self.bytes.as_slice(); in if_any() localVariable391 let unchanged_bytes_len = initial_bytes.len() - bytes_iter.len() - 3; in if_any()392 let mut decoded = initial_bytes[..unchanged_bytes_len].to_owned(); in if_any()
172 initial_bytes = flatbuffer_utils.convert_object_to_bytearray(initial_model)191 self.assertEqual(initial_bytes, final_bytes)
796 def __init__(self, initial_bytes=None): argument798 if initial_bytes is not None:799 buf.extend(initial_bytes)
895 def __init__(self, initial_bytes=None): argument897 if initial_bytes is not None:898 buf += initial_bytes
484 self.ioclass(initial_bytes=buf)
538 self.ioclass(initial_bytes=buf)
550 .. class:: BytesIO([initial_bytes])555 The optional argument *initial_bytes* is a :class:`bytes` object that
623 .. class:: BytesIO([initial_bytes])629 The optional argument *initial_bytes* is a :term:`bytes-like object` that