diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-15 16:05:15 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-15 16:05:15 +0100 |
commit | 46a49718b09fa5a517d2aa8dceadcc1713ffc51a (patch) | |
tree | 639c7b7d6cbf24095ca238a23563935441d50dab /src/helper.rs | |
parent | 2f4a11ddda04604d5d756231d258ef60fa9f7bd8 (diff) | |
download | unity-tools-46a49718b09fa5a517d2aa8dceadcc1713ffc51a.tar unity-tools-46a49718b09fa5a517d2aa8dceadcc1713ffc51a.tar.bz2 unity-tools-46a49718b09fa5a517d2aa8dceadcc1713ffc51a.tar.zst |
post align
Diffstat (limited to 'src/helper.rs')
-rw-r--r-- | src/helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper.rs b/src/helper.rs index a65d3e8..aada1fd 100644 --- a/src/helper.rs +++ b/src/helper.rs @@ -27,13 +27,13 @@ pub trait ReadExt { fn read_i64_be(&mut self) -> Result<i64>; fn read_i64_le(&mut self) -> Result<i64>; fn read_u128_be(&mut self) -> Result<u128>; - fn read_cstr(&mut self) -> Result<String>; fn read_f32(&mut self, e: Endianness) -> Result<f32>; fn read_f32_be(&mut self) -> Result<f32>; fn read_f32_le(&mut self) -> Result<f32>; fn read_f64(&mut self, e: Endianness) -> Result<f64>; fn read_f64_be(&mut self) -> Result<f64>; fn read_f64_le(&mut self) -> Result<f64>; + fn read_cstr(&mut self) -> Result<String>; } impl<T: Read> ReadExt for T { |