value: use read_f32 and read_f64, unchecked methods deprecated in latest byteorder

This commit is contained in:
Matt Bilker
2019-01-31 17:25:21 +00:00
parent 0d575309b3
commit bbea3a4815
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ description = "An encoder/decoder for Konami's binary XML format used in many of
edition = "2018"
[dependencies]
byteorder = "1.2.3"
byteorder = "1.3.1"
bytes = "0.4.10"
cfg-if = "0.1"
encoding_rs = "0.8.6"

View File

@@ -493,8 +493,8 @@ impl Value {
read_u16_into write_u16 u16 => [U16_2, U16_3, U16_4, Vu16],
read_u32_into write_u32 u32 => [U32_2, U32_3, U32_4],
read_u64_into write_u64 u64 => [U64_2, U64_3, U64_4],
read_f32_into_unchecked write_f32 f32 => [Float2, Float3, Float4],
read_f64_into_unchecked write_f64 f64 => [Double2, Double3, Double4]
read_f32_into write_f32 f32 => [Float2, Float3, Float4],
read_f64_into write_f64 f64 => [Double2, Double3, Double4]
]
}