MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / read_i64

Method read_i64

libraries/rawkit/src/tiff/file.rs:129–135  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

127 }
128
129 pub fn read_i64(&mut self) -> Result<i64> {
130 let data = self.read_n()?;
131 match self.endian {
132 Endian::Little => Ok(i64::from_le_bytes(data)),
133 Endian::Big => Ok(i64::from_be_bytes(data)),
134 }
135 }
136
137 pub fn read_f32(&mut self) -> Result<f32> {
138 let data = self.read_n()?;

Callers

nothing calls this directly

Calls 1

read_nMethod · 0.80

Tested by

no test coverage detected