I hereby claim:
- I am tearfulDalvik on github.
- I am dalvik (https://keybase.io/dalvik) on keybase.
- I have a public key whose fingerprint is 8A57 C443 84B9 D7B7 BC45 3AA3 AD93 B44C 5EFE F8D7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# coding:utf-8 | |
''' | |
@author Gufeng Shen | |
@date 2018年10月27日 | |
''' | |
import struct | |
import os | |
import uuid |
// MARK: Chrome Part | |
func getInt(_ bytes: [UInt]) -> UInt { | |
let lt = (bytes[3] << 24) & 0xff000000 | |
let ls = (bytes[2] << 16) & 0x00ff0000 | |
let lf = (bytes[1] << 8) & 0x0000ff00 | |
let lz = (bytes[0] << 0) & 0x000000ff | |
return lt | ls | lf | lz | |
} |
[package] | |
name = "sign_cqupt" | |
version = "0.1.0" | |
authors = ["Gufeng <[email protected]>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
serde_json = "1.0" |