package cstruct-lwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Access C-like structures directly from OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cstruct-v5.2.0.tbz
sha256=6bfef3753fab08cc638c07ca39f68d629087768f6a5cfeffc519d42018956a75
sha512=4e8cb53801980dacb9c9153bada89557ffcd9afaac262592fe6243bec3e76d5d1cfe3babe133a9a32e35ed00d98a4b54d55403e8505cca6a1328be50fadb5f37
doc/cstruct-lwt/Lwt_cstruct/index.html
Module Lwt_cstructSource
Blocking Lwt functions to read and write from Cstruct buffers.
read fd t reads data from the file descriptor fd into the t cstruct.
write fd t writes data from the t cstruct to the file descriptor fd.
complete (read fd) t fills t with data from fd.
complete (write fd) t fully-writes t to fd.
Source
val sendto :
Lwt_unix.file_descr ->
Cstruct.t ->
Unix.msg_flag list ->
Unix.sockaddr ->
int Lwt.tsendto fd t flags sa invokes Lwt_unix.sendto on the t cstruct.
Source
val recvfrom :
Lwt_unix.file_descr ->
Cstruct.t ->
Unix.msg_flag list ->
(int * Unix.sockaddr) Lwt.trecvfrom fd t flags sa invokes Lwt_unix.recvfrom on the t cstruct.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>