[][src]Module ptero::context

Context containing all needed data (e.g. access to cover text) for the steganography methods.

Structs

ContextError

Error implementation for Context. Exact error message is determined by ContextErrorKind.

PivotByLineContext

Context used by methods requiring pivot. Loads cover text line by line, uses pivot and does not preserve original whitespace. It also exposes the word iterator for purpose of peeking and/or traversing.

PivotByRawLineContext

Context used by methods requiring pivot. Loads and returns cover text line by line - not bound by pivot.

Enums

ContextErrorKind

Enum determining the exact context error.

Traits

Context

Context with essential methods for every encoder/decoder.