We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3447343 commit 87af9afCopy full SHA for 87af9af
src/lib.rs
@@ -38,7 +38,7 @@ impl Script {
38
Self::inner_from_short_name(input)
39
}
40
41
- /// The 4-byte iso15924 tag as a `u32`
+ /// The 4-byte iso15924 tag as a big-endian `u32`
42
pub fn as_iso15924_tag(self) -> u32 {
43
let arr: [u8; 4] = self.inner_short_name().as_bytes().try_into().unwrap();
44
u32::from_be_bytes(arr)
0 commit comments