From 9991be9aeea6bc78b60603343e04245d374cbb93 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 6 Nov 2018 22:16:13 +0100 Subject: sid: add Sid.{of,to}_bytes aliases Establish symmetry with of_string / to_string and the StringFmt module. --- sid.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sid.ml') diff --git a/sid.ml b/sid.ml index 2cced76..38c97f2 100644 --- a/sid.ml +++ b/sid.ml @@ -398,4 +398,7 @@ end let of_string = StringFmt.decode let to_string = StringFmt.encode +let of_bytes = PacketRep.decode +let to_bytes = PacketRep.encode + type t = sid -- cgit v1.2.3