diff options
| author | Fuwn <[email protected]> | 2021-04-23 18:27:51 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-04-23 18:27:51 +0000 |
| commit | 70e6a577025651639c745f029fbeb36922438939 (patch) | |
| tree | 354756327afab7744392752db12f421a0040e4f3 /src/utils/byte.rs | |
| parent | Merge branch 'tokio-re' of https://github.com/Whirlsplash/whirl into tokio-re (diff) | |
| download | whirl-70e6a577025651639c745f029fbeb36922438939.tar.xz whirl-70e6a577025651639c745f029fbeb36922438939.zip | |
major: :star:
Diffstat (limited to 'src/utils/byte.rs')
| -rw-r--r-- | src/utils/byte.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils/byte.rs b/src/utils/byte.rs deleted file mode 100644 index 01f10bb..0000000 --- a/src/utils/byte.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub fn convert_u16_to_two_u8s_be(integer: u16) -> [u8; 2] { - [(integer >> 8) as u8, integer as u8] -} |