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]

[src]

New Buffer from Parts

Arguments

  • bytes - The contents of the buffer
  • enc - The encoding this buffer is in

Returns

A new buffer instance

[src]

New ASCII Buffer

Arguments

  • bytes - The ASCII encoded string

Returns

A new buffer instance

Trait Implementations

impl<'a> EncodedChars for EncodedBytes<'a>
[src]

[src]

Pointer to the start of the pattern Read more

[src]

Pointer to the limit of the pattern buffer Read more

[src]

The encoding of the contents of the buffer

[src]