Airframe

Airframe

  • Docs
  • Blog
  • Release Notes
  • GitHub

›Utilities

Resources

  • Overview
  • Articles
  • Release Notes
  • Logos

Framework

  • airframe-di: Dependency Injection
  • Airframe RPC
  • airframe-http: Creating REST Service
  • airframe-rx: ReactiveX interface
  • AirSpec: Testing Framework

Core Modules

  • airframe-codec: Schema-On-Read Object Serializer
  • airframe-config: Application Config Flow
  • airframe-control: Retry/Rate Control
  • airframe-log: Application Logger
  • airframe-metrics: Human-Friendly Measures for Time and Data Size
  • airframe-surface: Object Shape Inspector

Utilities

  • airframe-benchmark: JMH Benchmark
  • airframe-canvas: Off-Heap Memory Manager
  • airframe-fluentd: Fluentd Logger
  • airframe-http-recorder: Web Request/Response Recorder
  • airframe-jdbc: JDBC Connection Pool
  • airframe-jmx: JMX Application Monitor
  • airframe-json: Pure-Scala JSON Parser
  • airframe-launcher: Command-Line Program Launcher
  • airframe-msgpack: Pure-Scala MessagePack Parser
  • airframe-parquet: Parquet Columnar File Reader and Writer
  • airframe-sql: SQL Parser
  • airframe-ulid: ULID Generator

airframe-msgpack: Pure-Scala MessagePack Parser

airframe-msgpack is a pure-Scala MessagePack reader and writer.

Maven Central

libraryDependencies += "org.wvlet.airframe" %% "airframe-msgpack" % "(version)"

Usage

import wvlet.airframe.msgpack.spi.MessagePack

// Create a packer for writing MessagePack values
val packer = MessagePack.newBufferPacker

packer.packInt(10)
packer.packString("hello")
// ...

// Produce MessagePack byte array
val msgpack = packer.toByteArray


// Create an unpacker for reading MesagePack values 
val unpacker = MessagePack.newUnpacker(msgpack)
unpacker.unpackInt // 10
unpacker.unpackString // String
← airframe-launcher: Command-Line Program Launcherairframe-parquet: Parquet Columnar File Reader and Writer →
  • Usage
Airframe
Docs
Documentation
Community
Gitter Chat
More
GitHubStar
airframe logo
Copyright © 2024 wvlet.org