This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,32 @@
let equal a b =
let a' = Bytes.unsafe_to_string a in
let b' = Bytes.unsafe_to_string b in
Eqaf.equal a' b'
let compare_le_with_len ~len a b =
let a' = Bytes.unsafe_to_string a in
let b' = Bytes.unsafe_to_string b in
Eqaf.compare_le_with_len ~len a' b'
let compare_le a b =
let a' = Bytes.unsafe_to_string a in
let b' = Bytes.unsafe_to_string b in
Eqaf.compare_le a' b'
let compare_be_with_len ~len a b =
let a' = Bytes.unsafe_to_string a in
let b' = Bytes.unsafe_to_string b in
Eqaf.compare_be_with_len ~len a' b'
let compare_be a b =
let a' = Bytes.unsafe_to_string a in
let b' = Bytes.unsafe_to_string b in
Eqaf.compare_be a' b'
let find_uint8 ?off ~f b =
let str = Bytes.unsafe_to_string b in
Eqaf.find_uint8 ?off ~f str
let exists_uint8 ?off ~f b =
let str = Bytes.unsafe_to_string b in
Eqaf.exists_uint8 ?off ~f str