#utf-16 #unicode #traits

no-std write16

A UTF-16 analog of the Write trait

1 stable release

1.0.0 Jul 18, 2022

#1531 in Text processing

Download history 1051537/week @ 2024-12-03 1136222/week @ 2024-12-10 1070269/week @ 2024-12-17 679225/week @ 2024-12-24 863860/week @ 2024-12-31 1345364/week @ 2025-01-07 1408830/week @ 2025-01-14 1418603/week @ 2025-01-21 1502524/week @ 2025-01-28 1661731/week @ 2025-02-04 1654803/week @ 2025-02-11 1997350/week @ 2025-02-18 2326583/week @ 2025-02-25 2515915/week @ 2025-03-04 2550188/week @ 2025-03-11 2467191/week @ 2025-03-18

10,247,922 downloads per month
Used in 31,114 crates (via icu_normalizer)

Apache-2.0 OR MIT

10KB
157 lines

write16

crates.io docs.rs

write16 provides the trait Write16, which a UTF-16 analog of the core::fmt::Write trait (the sink part—not the formatting part).

This is a no_std crate.

Licensing

TL;DR: Apache-2.0 OR MIT

Please see the file named COPYRIGHT.

Documentation

Generated API documentation is available online.

Features

alloc: An implementation of Write16 for alloc::vec::Vec. smallvec: An implementation of Write16 for smallvec::SmallVec arrayvec: An implementation of Write16 for arrayvec::ArrayVec

Release Notes

1.0.0

The initial release.


lib.rs:

write16 provides the trait Write16, which a UTF-16 analog of the core::fmt::Write trait (the sink part—not the formatting part).

Dependencies

~35KB