package packstream
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Packstream parses and serializes Packstream binary format
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.1.tar.gz
md5=b42862e522117cce228191a514d68ae5
sha512=7e23451b43624db223068e53504d173beebd304466d80780b8b9df0ce3ba8671cfdebc68ea603481bf2a80ee1f5308d100f72bac041345e6b5d5f03e2cb1d9cf
Description
Packstream parses and serializes Packstream binary format.
Added to opam-repository:
README
OCaml Packstream Library
This library can be used to parse and generate Packstream-formatted data.:w
How to install
ocaml install packstreamHow to use
(executable
(name foo)
(libraries (packstream)))Usage
utop [0]: open Packstream;;
utop [1]: parse @@ Bitstring.bitstring_of_string "\xB5\x52\x0B\x02\x03\x85KNOWS\xA1\x84name\x87example";;
- : (Message.t, string) result =
Core.Ok
(Packstream.Message.Relationship
{Packstream.Relationship.id = 11; start_node_id = 2; end_node_id = 3;
typ = "KNOWS";
properties = [("name", Packstream.Message.String "example")]})
utop [2]: serialize @@ Struct { length = 3; tag = 0x12; fields = [Int 1L; String "Howdy"; List [Float 1.23; True]] };;
- : Bitstring.t =
("\179\018\001\133Howdy\146\193?\243\174\020z\225G\174\195", 0, 160)
Dependencies (6)
-
ppx_deriving
>= "5.2.1" -
ppx_bitstring
>= "4.1.0" -
bitstring
>= "4.1.0" -
core
>= "v0.14.0" -
ocaml
>= "4.08.0" -
dune
>= "2.8"
Used by
None
Conflicts
None
Build status
Results of building packstream with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.1 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page