4179e1's recent timeline updates
4179e1

4179e1

V2EX member #161794, joined on 2016-03-04 00:37:06 +08:00
4179e1's recent replies
Aug 1, 2023
Replied to a topic by 495414572 程序员 本地 GPU 虚拟化怎么做?
@gstqc 谢谢兄台,已经在深圳安家,去外地感觉得不偿失……
或者运维开发

或者……自称全栈去混……
Jul 6, 2017
Replied to a topic by 4179e1 Python Python 怎么做强制类型转换?
挖自己的坟,我后来是用 ord 做的,val = ord (header[12]) * 256 + ord (header[13])

只适用于大端字节序比如网络……跟楼上 wingyiu 的方法大约是近似的做法
Apr 21, 2016
Replied to a topic by 4179e1 Python Python 怎么做强制类型转换?
谢谢, struct 是个办法,找了一下没找到这个模块的代码,可能是用 c 实现的,算了直接用了
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1078 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 18:26 · PVG 02:26 · LAX 11:26 · JFK 14:26
♥ Do have faith in what you're doing.