Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit87af9af

Browse files
committed
Document as big-endian
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent3447343 commit87af9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Script {
3838
Self::inner_from_short_name(input)
3939
}
4040

41-
/// The 4-byte iso15924 tag as a `u32`
41+
/// The 4-byte iso15924 tag as abig-endian`u32`
4242
pubfnas_iso15924_tag(self) ->u32{
4343
let arr:[u8;4] =self.inner_short_name().as_bytes().try_into().unwrap();
4444
u32::from_be_bytes(arr)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp