Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Jatin7860
/
DF
like
2
arxiv:
2005.05535
Model card
Files
Files and versions
Community
main
DF
/
core
/
structex.py
Jatin7860
Upload 226 files
fcd5579
verified
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
175 Bytes
import
struct
def
struct_unpack
(
data, counter, fmt
):
fmt_size = struct.calcsize(fmt)
return
(counter+fmt_size,) + struct.unpack (fmt, data[counter:counter+fmt_size])