PyDocs

Nav

Binary Data Services

calcsize

struct

function
  • calcsize(format)
Return size in bytes of the struct described by the format string.
1 Example
>>> calcsize('@lhl')
24
>>> calcsize('@llh')
18
from the Python docs
See Also
No see-alsos for struct/calcsize
0 Notes
No notes for calcsize