Module bstring::bstring [] [src]

Provides bstr and BString byte string types

These types have a relationship similar to the standard types str and String.

Structs

BString

A growable byte string of unknown encoding.

Display

Utility struct that defines std::fmt::Display for a &bstr, which may contain non-UTF-8 data.

Iter

Iterator over bytes in a byte string.

IterMut

Mutable iterator over bytes in a byte string.

Lines

Iterator over lines of a byte string.

MatchIndices

Created with the method match_indices

Matches

Created with the method matches

RMatchIndices

Created with the method rmatch_indices

RMatches

Created with the method rmatches

RSplit

Created with the method rsplit

RSplitN

Created with the method rsplitn

RSplitTerminator

Created with the method rsplit_terminator

Split

Created with the method split

SplitN

Created with the method splitn

SplitTerminator

Created with the method split_terminator

SplitWords

Created with the method split_words

bstr

Byte string slice of unknown encoding.

Enums

ParseError

Represents an error parsing a BString from a &bstr.