8000 GitHub - mtakagi/MessagePackEncoder: Swift 4 の Codable 対応用の MessagePack の Encoder をためしに実装
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mtakagi/MessagePackEncoder

Repository files navigation

MsgPackEncoder

Build Status codecov Join the chat at https://gitter.im/mtakagi/MessagePackEncoder

This project is experimental MessagePack Encoder like a Swift 4's Codable conform (JSON|PropertyList)Encoder class

Caution

Currently MessagePackEncoder is encode support only.

How to use

Simply instantiate MessagePackEncoder class and invoke encode method with Codable instance.

struct Sample : Codable {
    var name : String
}

let sample = Samle(name: "Sample")
let encoder = MessagePackEncoder()
let result = try! encoder.encode(sample)

About

Swift 4 の Codable 対応用の MessagePack の Encoder をためしに実装

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0