marshal tools - marshaling without buffering from fd
commit1c422d13fa02d6306930e2bbf7e7b577cfe9b906
authorAlexander Chow <achow@fb.com>
Wed, 21 Oct 2015 01:29:14 +0000 (20 18:29 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 21 Oct 2015 02:00:36 +0000 (20 19:00 -0700)
tree9fc80f856cada12d7da0a2b19859affe9dd59872
parenta98a76ad2b44021398681c94c4b1d17e2a679fda
marshal tools - marshaling without buffering from fd

Summary: Marshal over FD directly instead of channels to avoid buffering
so we can use Ocaml Marshalling and libancillary together

Reviewed By: int3

Differential Revision: D2558461

fb-gh-sync-id: 1331a76e0e1ce0d716b7b592e1380f82d1dde8eb
hphp/hack/src/utils/marshal_tools.ml [new file with mode: 0644]
hphp/hack/src/utils/marshal_tools.mli [new file with mode: 0644]
hphp/hack/src/utils/marshal_tools_test.ml [new file with mode: 0644]