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

Method read_bool

rust/fory-core/src/buffer.rs:634–636  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

632
633 #[inline(always)]
634 pub fn read_bool(&mut self) -> Result<bool, Error> {
635 Ok(self.read_u8()? != 0)
636 }
637
638 // ============ INT8 (TypeId = 2) ============
639

Callers

nothing calls this directly

Calls 1

read_u8Method · 0.80

Tested by

no test coverage detected