Crate byte_slice [−] [src]
Modules
| macros |
Byte stream collection macros. |
Macros
| bs_available |
Retrieve the amount of readable bytes. |
| bs_collect |
Iterate |
| bs_collect_digits16 |
Collect all sequential digit bytes into |
| bs_collect_digits32 |
Collect all sequential digit bytes into |
| bs_collect_digits64 |
Collect all sequential digit bytes into |
| bs_collect_digits8 |
Collect all sequential digit bytes into |
| bs_collect_hex |
Collect all sequential hex bytes into |
| bs_collect_length |
Collect |
| bs_collect_until |
Collect if |
| bs_collect_when |
Collect if |
| bs_count |
Count each occurrence of |
| bs_count_when |
Count each byte loop starting at |
| bs_find |
Find the first occurrence of |
| bs_find_pattern |
Find the first occurrence of |
| bs_has_bytes |
Indicates that a specified amount of bytes are available for reading. |
| bs_index |
Retrieve the current stream index. |
| bs_is_eos |
Indicates that we're at the end of the stream. |
| bs_jump |
Jump |
| bs_mark |
Set |
| bs_next |
Advance |
| bs_peek |
Peek at a slice of bytes. |
| bs_remaining |
Retrieve the remaining available bytes. |
| bs_replay |
Replay the most recent byte, but do not change the current |
| bs_rewind |
Rewind |
| bs_rewind_to |
Rewind |
| bs_slice |
Retrieve the slice of marked bytes. |
| bs_slice_ignore |
Retrieve the slice of marked bytes ignoring the very last byte. |
| bs_slice_length |
Retrieve the length of marked bytes. |
| bs_starts_with |
Determine if the remaining stream starts with |
| bs_starts_with1 |
Determine if the remaining stream starts with |
| bs_starts_with10 |
Determine if the remaining stream starts with |
| bs_starts_with11 |
Determine if the remaining stream starts with |
| bs_starts_with12 |
Determine if the remaining stream starts with |
| bs_starts_with13 |
Determine if the remaining stream starts with |
| bs_starts_with14 |
Determine if the remaining stream starts with |
| bs_starts_with15 |
Determine if the remaining stream starts with |
| bs_starts_with16 |
Determine if the remaining stream starts with |
| bs_starts_with17 |
Determine if the remaining stream starts with |
| bs_starts_with18 |
Determine if the remaining stream starts with |
| bs_starts_with19 |
Determine if the remaining stream starts with |
| bs_starts_with2 |
Determine if the remaining stream starts with |
| bs_starts_with20 |
Determine if the remaining stream starts with |
| bs_starts_with21 |
Determine if the remaining stream starts with |
| bs_starts_with22 |
Determine if the remaining stream starts with |
| bs_starts_with23 |
Determine if the remaining stream starts with |
| bs_starts_with24 |
Determine if the remaining stream starts with |
| bs_starts_with25 |
Determine if the remaining stream starts with |
| bs_starts_with3 |
Determine if the remaining stream starts with |
| bs_starts_with4 |
Determine if the remaining stream starts with |
| bs_starts_with5 |
Determine if the remaining stream starts with |
| bs_starts_with6 |
Determine if the remaining stream starts with |
| bs_starts_with7 |
Determine if the remaining stream starts with |
| bs_starts_with8 |
Determine if the remaining stream starts with |
| bs_starts_with9 |
Determine if the remaining stream starts with |
| is_alpha |
Indicates that a byte is alphabetical. |
| is_control |
Indicates that a byte is a control character. |
| is_digit |
Indicates that a byte is a digit. |
| is_hex |
Indicates that a byte is a hex character. |
| is_not_visible_7bit |
Indicates that a byte is not a visible 7-bit character. Space are not considered visible. |
| is_not_visible_8bit |
Indicates that a byte is not a visible 8-bit character. Space not considered visible. |
| is_visible_7bit |
Indicates that a byte is a visible 7-bit character. Space is not considered visible. |
| is_visible_8bit |
Indicates that a byte is a visible 8-bit character. Space is not considered visible. |
Structs
| ByteStream |
Default byte stream type. |