package ocplib-endian
Optimised functions to read and write int16/32/64 from strings and bigarrays
Install
Dune Dependency
Authors
Maintainers
Sources
1.2.tar.gz
md5=8d5492eeb7c6815ade72a7415ea30949
sha512=2e70be5f3d6e377485c60664a0e235c3b9b24a8d6b6a03895d092c6e40d53810bfe1f292ee69e5181ce6daa8a582bfe3d59f3af889f417134f658812be5b8b85
Description
The library implements three modules:
- EndianString works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
- EndianBytes works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
- EndianBigstring works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts.
Published: 11 Nov 2021
README
ocplib-endian
Optimised functions to read and write int16/32/64 from strings, bytes and bigarrays, based on primitives added in version 4.01.
The library implements three modules:
EndianString works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
EndianBytes works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
EndianBigstring works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts;
= Hacking =
The tests only pass in dune release profile. The debug mode prevents cross module inlining, which prevents unboxing in the tests.
Dependencies (4)
-
dune
>= "1.0"
-
cppo
>= "1.1.0" & build
-
ocaml
>= "4.03.0"
- base-bytes
Dev Dependencies
None
Used by (45)
- alberto
-
amqp-client
>= "0.9.0" & < "2.3.0"
-
amqp-client-async
< "2.3.0"
-
amqp-client-lwt
< "2.3.0"
-
angstrom
< "0.7.0"
-
arakoon
>= "1.8.6"
- caisar
-
caisar-onnx
>= "0.2"
- capnp
- cbor
- crowbar
-
cstruct
>= "0.6.0" & < "3.2.0"
-
decoders-msgpck
>= "0.7.0"
- depyt
- dtc-pb
-
encore
< "0.3"
- ezgzip
-
faraday
< "0.5.0"
-
git
>= "1.6.0" & < "3.0.0"
- gpt
-
graphql-cohttp
>= "0.9.0"
- hacl
- json-data-encoding-bson
-
lwt
>= "4.3.0"
-
lwt-binio
>= "0.2.0"
-
mirage-crypto
< "0.7.0"
- mirage-profile
-
mirage-profile-unix
>= "0.8.2"
-
mirage-profile-xen
>= "0.8.2"
- mqtt
-
mrmime
>= "0.5.0"
- msgpck
- nsq
-
ocaml-protoc-plugin
< "1.0.0"
- ocplib-concur
-
ocplib-json-typed
= "0.4"
- ocplib-json-typed-bson
- octez-shell-libs
- osc
- perf
- protocell
- scid
-
tezos-signer-backends
>= "13.0"
- webauthn
- websocket
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page