Git Product home page Git Product logo

msgpack's Introduction

Efficient MessagePack encoding for Golang

Overview

This project is an implementation of the MessagePack (Msgpack) encoding format in the Go programming language. It is inspired by the github.com/vmihailenco/msgpack package and is optimized for zero memory allocations and maximum speed.

Key features

  • High Performance with Zero Allocations
  • Append-Style API: The package follows an append-style API pattern similar to hex.AppendEncode, strconv.AppendBool, and fmt.Appendf from the standard library. For example:
    • func (e *Encoder) AppendInt8(dst []byte, n int8) []byte
    • func (e *Encoder) AppendBytes(dst []byte, v []byte) []byte {
    • func (e *Encoder) AppendString(dst []byte, v string) []byte {
    • func (e *Encoder) AppendMap(dst []byte, m map[string]interface{}) []byte {

Usage

To use this package in your Go project, follow these steps:

  1. Install msgpack
go get github.com/nurlybekovnt/msgpack

Acknowledgment

This project builds upon the work of github.com/vmihailenco/msgpack. We extend my gratitude to the creators and contributors of that project, which has been instrumental in the development of this implementation.

Contributions

We welcome contributions and bug reports. If you have any suggestions or improvements, please feel free to open an issue or submit a pull request on our GitHub repository.

msgpack's People

Contributors

nurlybekovnt avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.