package
module
Version:
v0.0.0-...-3344c00
Opens a new window with list of versions in this module.
Published: Dec 6, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Copy json to message pack
The package provides tools for converting json to message pack with minimal overhead.
jsontomsgp.CopyBytes
- takes json bytes and writes message pack bytes to the writer.
Benchmarks
$go test ./... -bench=. -run=none
goos: darwin
goarch: arm64
pkg: github.com/makasim/jsontomsgp
BenchmarkCopyJSONToMsgp-10 2112625 562.5 ns/op 0 B/op 0 allocs/op
PASS
ok github.com/makasim/jsontomsgp 1.939s
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.