From 04be611be6ab6bcfa7617365ab824ca2b1dc2f9b Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 25 Oct 2018 01:10:17 +0200 Subject: =?UTF-8?q?sid:=20implement=20decoder=20for=20=E2=80=9Cpacket=20re?= =?UTF-8?q?presentation=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sid.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sid.mli') diff --git a/sid.mli b/sid.mli index 9a7e8b0..7c0451c 100644 --- a/sid.mli +++ b/sid.mli @@ -1,6 +1,5 @@ type t type sub_auths = Stdint.Uint32.t array -val sub_auth_max : int val create_unsafe : Stdint.Uint32.t array -> Stdint.Uint64.t -> t val create : ?sa:Stdint.Uint32.t array -> Stdint.Uint64.t -> t val equal_sub_auths : Stdint.Uint32.t array -> Stdint.Uint32.t array -> bool @@ -19,6 +18,7 @@ module StringFmt : module PacketRep : sig val encode : t -> bytes + val decode : bytes -> (t, string) result end module WellKnown : -- cgit v1.2.3