package cstruct
Access C-like structures directly from OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
cstruct-v3.6.0.tbz
sha256=a5a642cf46ae3278b9115987845b2ac8137be5478e6f65cdc56ed7b3034ac32c
md5=fa3ab5c5029dcab94fac95c3eceb4198
doc/cstruct/Cstruct/LE/index.html
Module Cstruct.LE
Get/set little-endian integers of various sizes. The second argument of those functions is the position relative to the current offset of the cstruct.
get_uint16 cstr off
is the 16 bit long little-endian unsigned integer stored in cstr
at offset off
.
get_uint32 cstr off
is the 32 bit long little-endian unsigned integer stored in cstr
at offset off
.
get_uint64 cstr off
is the 64 bit long little-endian unsigned integer stored in cstr
at offset off
.
set_uint16 cstr off i
writes the 16 bit long little-endian unsigned integer i
at offset off
of cstr
.
set_uint32 cstr off i
writes the 32 bit long little-endian unsigned integer i
at offset off
of cstr
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>