nhsl

Nim Hessian Serialization Library encodes/decodes data into the Hessian binary protocol

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License LGPL
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install nhsl
choosenim install nhsl
git clone https://github.com/twist-vector/nhsl.git

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nhsl - - - - - - -

Source

Repository https://github.com/twist-vector/nhsl.git
Homepage https://github.com/twist-vector/nhsl
Registry Source nimble_official

README

Nim Hessian Serialization Library (NHSL)

The NHSL module is a partial implementation of the Hessian binary protocol. Hessian is a compact binary protocol for cross-platform web services and messaging. It allows you to represent binary data (integers, floats, lists objects, etc.) in a very compact form. This allows storage or communication to be small and fast.

For the Hessian spec, see http://hessian.caucho.com/doc/hessian-serialization.html

This is only a partial implementation of the Hessian protocol.

Supported

  • boolean
  • double
    • Compact: double zero
    • Compact: double one
    • Compact: double octet
    • Compact: double short
    • Compact: double float
  • int
    • Compact: single octet integers
    • Compact: two octet integers
    • Compact: three octet integers
  • list
    • Compact: fixed length list
  • long
    • Compact: single octet longs
    • Compact: two octet longs
    • Compact: three octet longs
    • Compact: four octet longs
  • string
    • Compact: short strings

Unsupported:

  • binary data
    • Compact: short binary
  • date
    • Compact: date in minutes
  • map
  • null
  • object
    • Compact: class definition
    • Compact: object instantiation
  • ref
  • type
    • Compact: type references