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

Method write_bf16

rust/fory-core/src/buffer.rs:411–413  ·  view source on GitHub ↗
(&mut self, value: bfloat16)

Source from the content-addressed store, hash-verified

409 // ============ BFLOAT16 (TypeId = 18) ============
410 #[inline(always)]
411 pub fn write_bf16(&mut self, value: bfloat16) {
412 self.write_u16(value.to_bits());
413 }
414
415 // ============ FLOAT64 (TypeId = 18) ============
416

Callers

nothing calls this directly

Calls 2

write_u16Method · 0.80
to_bitsMethod · 0.45

Tested by

no test coverage detected