MCPcopy Create free account
hub / github.com/apache/fory / write_utf8_standard

Function write_utf8_standard

rust/fory-core/src/util/string_util.rs:727–730  ·  view source on GitHub ↗
(writer: &mut Writer, s: &str)

Source from the content-addressed store, hash-verified

725
726 #[inline]
727 pub fn write_utf8_standard(writer: &mut Writer, s: &str) {
728 let bytes = s.as_bytes();
729 writer.bf.extend_from_slice(bytes);
730 }
731
732 #[inline]
733 pub fn write_utf16_standard(writer: &mut Writer, utf16: &[u16]) {

Callers 1

test_utf8Function · 0.85

Calls

no outgoing calls

Tested by 1

test_utf8Function · 0.68