Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions src/bitpack_serializer.ml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 Ocaml Pro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


module Buffer = Buffer
module Lens = Lens
Expand Down
23 changes: 12 additions & 11 deletions src/bitpack_serializer.mli
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 OcamlPro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


module Buffer : module type of Buffer
module Lens : module type of Lens
Expand Down
23 changes: 12 additions & 11 deletions src/buffer.ml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 OcamlPro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


open Utils
open Collections
Expand Down
23 changes: 12 additions & 11 deletions src/buffer.mli
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 OCamlPro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


(** The Buffer defines the methods for serializers & deserializers in a
buffer. The compression algorithm used by the library works by writing
Expand Down
12 changes: 12 additions & 0 deletions src/index.mld
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)

{1 Library Bitpack_serializer}

The library_binary encoding provides two main modules.
Expand Down
23 changes: 12 additions & 11 deletions src/lens.ml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 OcamlPro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


open Utils

Expand Down
23 changes: 12 additions & 11 deletions src/lens.mli
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 OcamlPro *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


(** Lenses are useful tools defining data-types encodings. Lenses provides
in a single OCaml value equivalent serializes and deserializers. *)
Expand Down
23 changes: 12 additions & 11 deletions src/utils.ml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 Origin Labs *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


module Collections = struct
module StringMap = Map.Make(String)
Expand Down
23 changes: 12 additions & 11 deletions src/utils.mli
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
(**************************************************************************)
(* *)
(* Copyright (c) 2019-2022 Origin Labs *)
(* *)
(* All rights reserved. *)
(* This file is distributed under the terms of the GNU Lesser General *)
(* Public License version 2.1, with the special exception on linking *)
(* described in the LICENSE.md file in the root directory. *)
(* *)
(* *)
(**************************************************************************)
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)


module Collections : sig
module StringMap : Map.S with type key = string
Expand Down
12 changes: 12 additions & 0 deletions src/version.mlt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
(******************************************************************************)
(* *)
(* Copyright (c) 2019-2026 OCamlPro *)
(* *)
(* All rights reserved. *)
(* *)
(* This file is distributed under the terms of the GNU Lesser General Public *)
(* License version 2.1, with the special exception on linking described in *)
(* the LICENSE.md file in the root directory. *)
(* *)
(******************************************************************************)

let query cmd =
let chan = Unix.open_process_in cmd in
try
Expand Down
Loading