pub struct EncodedBytes<'a> { /* fields omitted */ }
Expand description
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.