Sha256: 3ba3b6867d9bab6d3bfbea5f9cd93525b0dbb0668918f78c22dc9feddc5d0a6b

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

# frozen_string_literal: true

require "zser/version"
require "zser/exceptions"

require "zser/decoder"
require "zser/object"
require "zser/parser"
require "zser/varint"

# zcred serialization format
module Zser
  # Parse the given self-describing zser message
  #
  # @param message [String] binary encoded zser message
  #
  # @return [Zser::Object] Hash-like object representing message
  def self.parse(message)
    parser = Zser::Parser.new(Zser::Decoder.new)
    parser.parse(message)
    parser.finish
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zser-0.0.1 lib/zser.rb