pub struct EncodedBytes<'a> { /* fields omitted */ }
Byte Buffer
Represents a buffer of bytes, with an encoding.
New Buffer from Parts
bytes
- The contents of the buffer
enc
- The encoding this buffer is in
A new buffer instance
New ASCII Buffer
bytes
- The ASCII encoded string
A new buffer instance
Pointer to the start of the pattern Read more
Pointer to the limit of the pattern buffer Read more
The encoding of the contents of the buffer
The length of this buffer
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static