Skip to main content

Crate reovim_module_codec_utf8

Crate reovim_module_codec_utf8 

Source
Expand description

UTF-8 content codec module for reovim.

Provides UTF-8 encoding support for the content codec pipeline:

  • BOM detection and stripping on decode, restoration on encode
  • CRLF normalization to LF on decode, restoration on encode
  • Round-trip fidelity: encode(decode(bytes)) == bytes

§Architecture

reovim-driver-codec              (trait definitions + stores)
        ^
        |
reovim-module-codec-utf8         (THIS CRATE - UTF-8 implementation)

§Self-Registration Pattern

During init(), this module registers:

Re-exports§

pub use classifier::Utf8Classifier;
pub use codec::Utf8Codec;
pub use factory::Utf8CodecFactory;

Modules§

classifier
UTF-8 content classifier.
codec
UTF-8 content codec.
factory
UTF-8 codec factory.

Structs§

CodecUtf8Module
UTF-8 content codec module.