var searchIndex = {}; searchIndex["byte_slice"] = {"doc":"","items":[[3,"ByteStream","byte_slice","Default byte stream type.",null,null],[12,"byte","","Current byte.",0,null],[12,"mark_index","","Callback mark index.",0,null],[12,"stream","","Stream data.",0,null],[12,"stream_index","","Stream index.",0,null],[0,"macros","","Byte stream collection macros.",null,null],[11,"new","","Create a new `ByteStream`.",0,null],[11,"fmt","","",0,null],[11,"fmt","","",0,null],[14,"bs_available!","","Retrieve the amount of readable bytes.",null,null],[14,"bs_collect!","","Iterate `$context.stream`, and for each byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_digits8!","","Collect all sequential digit bytes into `$var` (u8), and convert them into an unsigned integer.\nIf `$on_byte` is supplied, for each new byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_digits16!","","Collect all sequential digit bytes into `$var` (u16), and convert them into an unsigned integer.\nIf `$on_byte` is supplied, for each new byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_digits32!","","Collect all sequential digit bytes into `$var` (u32), and convert them into an unsigned integer.\nIf `$on_byte` is supplied, for each new byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_digits64!","","Collect all sequential digit bytes into `$var` (u64), and convert them into an unsigned integer.\nIf `$on_byte` is supplied, for each new byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_hex!","","Collect all sequential hex bytes into `$var` (u64), and convert them into an unsigned integer. If\n`$on_byte` is supplied, for each new byte execute `$on_byte`. Upon locating end-of-stream\nexecute `$on_eos`.",null,null],[14,"bs_collect_length!","","Collect `$length` bytes. If `$on_byte` and `$on_eos` are supplied, for each new byte execute\n`$on_byte`. Upon locating end-of-stream execute `$on_eos`.",null,null],[14,"bs_collect_when!","","Collect if `$when` yields `true`.",null,null],[14,"bs_count!","","Count each occurrence of `$byte` starting at `$context.stream_index` until end-of-stream.",null,null],[14,"bs_count_when!","","Count each byte loop starting at `$context.stream_index` until end-of-stream, if `$when`\nyields `true`.",null,null],[14,"bs_find!","","Find the first occurrence of `$byte` and return the index relative to `$context.stream_index`.",null,null],[14,"bs_find_pattern!","","Find the first occurrence of `$pattern` and return the index relative to\n`$context.stream_index`.",null,null],[14,"bs_has_bytes!","","Indicates that a specified amount of bytes are available for reading.",null,null],[14,"bs_index!","","Retrieve the current stream index.",null,null],[14,"bs_is_eos!","","Indicates that we're at the end of the stream.",null,null],[14,"bs_jump!","","Jump `$length` bytes.",null,null],[14,"bs_mark!","","Set `$context.mark_index` to the current stream index or `$index`.",null,null],[14,"bs_next!","","Advance `$context.stream_index` one byte and set `$context.byte` to the new byte.",null,null],[14,"bs_peek!","","Peek at a slice of bytes.",null,null],[14,"bs_remaining!","","Retrieve the remaining available bytes.",null,null],[14,"bs_replay!","","Replay the most recent byte, but do not change the current `$context.byte`.",null,null],[14,"bs_rewind!","","Rewind `$context.stream_index` by `$length` bytes, but do not change the current\n`$context.byte`.",null,null],[14,"bs_rewind_to!","","Rewind `$context.stream_index` to index `$index`, but do not change the current `$context.byte`.",null,null],[14,"bs_slice!","","Retrieve the slice of marked bytes.",null,null],[14,"bs_slice_ignore!","","Retrieve the slice of marked bytes ignoring the very last byte.",null,null],[14,"bs_slice_length!","","Retrieve the length of marked bytes.",null,null],[14,"bs_starts_with!","","Determine if the remaining stream starts with `$pattern`.",null,null],[14,"bs_starts_with1!","","Determine if the remaining stream starts with `$pattern`, comparing only the first byte.",null,null],[14,"bs_starts_with2!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 2 bytes.",null,null],[14,"bs_starts_with3!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 3 bytes.",null,null],[14,"bs_starts_with4!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 4 bytes.",null,null],[14,"bs_starts_with5!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 5 bytes.",null,null],[14,"bs_starts_with6!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 6 bytes.",null,null],[14,"bs_starts_with7!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 7 bytes.",null,null],[14,"bs_starts_with8!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 8 bytes.",null,null],[14,"bs_starts_with9!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 9 bytes.",null,null],[14,"bs_starts_with10!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 10 bytes.",null,null],[14,"bs_starts_with11!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 11 bytes.",null,null],[14,"bs_starts_with12!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 12 bytes.",null,null],[14,"bs_starts_with13!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 13 bytes.",null,null],[14,"bs_starts_with14!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 14 bytes.",null,null],[14,"bs_starts_with15!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 15 bytes.",null,null],[14,"bs_starts_with16!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 16 bytes.",null,null],[14,"bs_starts_with17!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 17 bytes.",null,null],[14,"bs_starts_with18!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 18 bytes.",null,null],[14,"bs_starts_with19!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 19 bytes.",null,null],[14,"bs_starts_with20!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 20 bytes.",null,null],[14,"bs_starts_with21!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 21 bytes.",null,null],[14,"bs_starts_with22!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 22 bytes.",null,null],[14,"bs_starts_with23!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 23 bytes.",null,null],[14,"bs_starts_with24!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 24 bytes.",null,null],[14,"bs_starts_with25!","","Determine if the remaining stream starts with `$pattern`, comparing only the first 25 bytes.",null,null],[14,"is_alpha!","","Indicates that a byte is alphabetical.",null,null],[14,"is_control!","","Indicates that a byte is a control character.",null,null],[14,"is_digit!","","Indicates that a byte is a digit.",null,null],[14,"is_hex!","","Indicates that a byte is a hex character.",null,null],[14,"is_not_visible_7bit!","","Indicates that a byte is not a visible 7-bit character. Space are not considered visible.",null,null],[14,"is_not_visible_8bit!","","Indicates that a byte is not a visible 8-bit character. Space not considered visible.",null,null],[14,"is_visible_7bit!","","Indicates that a byte is a visible 7-bit character. Space is not considered visible.",null,null],[14,"is_visible_8bit!","","Indicates that a byte is a visible 8-bit character. Space is not considered visible.",null,null]],"paths":[[3,"ByteStream"]]}; initSearch(searchIndex);