Crate byte_slice [−] [src]
Modules
macros |
Byte stream collection macros. |
Macros
bs_available! |
Retrieve the amount of readable bytes. |
bs_collect! |
Iterate |
bs_collect_digits! |
Collect all sequential digit bytes into |
bs_collect_hex! |
Collect all sequential hex bytes into |
bs_collect_length! |
Collect |
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_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 |
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. |