MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / format_uint16

Function format_uint16

src/repr/src/strconv.rs:178–184  ·  view source on GitHub ↗

Writes an `u16` to `buf`.

(buf: &mut F, u: u16)

Source from the content-addressed store, hash-verified

176
177/// Writes an `u16` to `buf`.
178pub fn format_uint16<F>(buf: &mut F, u: u16) -> Nestable
179where
180 F: FormatBuffer,
181{
182 write!(buf, "{}", u);
183 Nestable::Yes
184}
185
186/// Parses an [`u32`] from `s`.
187///

Callers 3

stringify_datumFunction · 0.85
cast_uint16_to_stringFunction · 0.85
encode_textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected