Struct onig::EncodedBytes
[−]
[src]
pub struct EncodedBytes<'a> { /* fields omitted */ }
Byte Buffer
Represents a buffer of bytes, with an encoding.
Methods
impl<'a> EncodedBytes<'a>
[src]
fn from_parts(bytes: &'a [u8], enc: OnigEncoding) -> EncodedBytes<'a>
[src]
New Buffer from Parts
Arguments
bytes
- The contents of the bufferenc
- The encoding this buffer is in
Returns
A new buffer instance