You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6933 Reporter:@dbuenzli Status: closed (set by @xavierleroy on 2017-02-16T14:15:08Z) Resolution: won't fix Priority: normal Severity: feature Version: 4.02.2 Category: standard library
Bug description
It would be nice to export the function is Bytes.mli. This may need coordination with ocamlfind's magic bytes package though.
The text was updated successfully, but these errors were encountered:
I overlooked the fact that both Bytes.unsafe_blit and Bytes.unsafe_blit_string are backed by the same C primitive. So Bytes.unsafe_blit_string can be written:
let unsafe_blit_string s s0 d d0 len = Bytes.(unsafe_blit (unsafe_of_string s) s0 d d0 len)
Feel free to close the PR it's not worth the hassle.
Original bug ID: 6933
Reporter: @dbuenzli
Status: closed (set by @xavierleroy on 2017-02-16T14:15:08Z)
Resolution: won't fix
Priority: normal
Severity: feature
Version: 4.02.2
Category: standard library
Bug description
It would be nice to export the function is Bytes.mli. This may need coordination with ocamlfind's magic bytes package though.
The text was updated successfully, but these errors were encountered: