[−][src]Module ptero::method::trailing_unicode
Method which puts trailing Unicode whitespace or invisible chars when encoding bit
Description
This method encodes n-bits using available set of unicode whitespace. Larger sets provide better capacity but might not work for every channel - it depends which characters get sanitized or are actually used.
The whitespace are added at the end of the line as some of them are actually visible and might lower the imperceptibility of this method.
The amount of bits encoded by this implementation depends on used Unicode character set. It it at most 5 bits per line with [FULL_UNICODE_CHARACTER_SET].
Encoder does not inform if there is not data left!
Structs
| FullUnicodeSet | Unit struct representing the FULL_UNICODE_CHARACTER_SET. |
| TrailingUnicodeMethod | Trailing unicode encoder for generic Unicode character sets. It uses the UnicodeSet to get the character given the n-bits (where n is the binary logarithm of the set size). |
Constants
| FULL_UNICODE_CHARACTER_SET | Full set of used Unicode whitespace and invisible special chars - from different width spaces to formatting chars and zero-width spaces. |
Traits
| UnicodeSet | This trait is used for reading unicode set data. |