MessagePack is a fast and compact binary serialization library.
MessagePack for F# is a MessagePack implementation of F#, by F#, for F#.
open MsgPack
[| 1uy; 2uy; 3uy |]
|> Array.map (Value.UInt8)
|> Value.Array
|> Packer.packOne
//=> val it : byte [] = [|147uy; 1uy; 2uy; 3uy|]
Unpacker.unpack [|147uy; 1uy; 2uy; 3uy|]
//=> [|Value.Array [|Value.UInt8 1uy; Value.UInt8 2uy; Value.UInt8 3uy|]|]
Copyright (c) 2014- Kazuhiro Matsushima
Distributed under the Apache License, Version 2.0 .