您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

python中的缓冲区意味着什么

5b51 2022/1/14 8:21:22 python 字数 1202 阅读 490 来源 www.jb51.cc/python

在struct的python文档中,使用了单词buffer而没有解释:http://docs.python.org/library/struct.html struct.unpack_from(fmt, buffer[,offset=0]) Unpack the buffer according to the given format. T

概述

在struct的python文档中,使用了单词buffer而没有解释:

http://docs.python.org/library/struct.html

struct.unpack_from(fmt,buffer[,offset=0])

Unpack the buffer
according to the given format. The
result is a tuple even if it contains
exactly one item. The buffer must
contain at least the amount of data
required by the format
(len(buffer[offset:]) must be at least
calcsize(fmt)).

这里的缓冲区是什么意思.字符串是缓冲区还是文件描述符? “缓冲”必须有哪些方法

总结

以上是编程之家为你收集整理的python中的缓冲区意味着什么全部内容,希望文章能够帮你解决python中的缓冲区意味着什么所遇到的程序开发问题。


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶