From e5c63e787f39cd37fad98f543139dd27f71bdc07 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 18 Dec 2021 11:10:47 +0100 Subject: Update README. Change-Id: I4f0fb8917bcc472a3d0c4f0bf4a5b9c9891ba777 --- README.md | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b607610..64bafc6 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,48 @@ This library provides a [GVariant][] parser in pure Java. ## Overview -The foundational class is `Decoder`. - -Instances of `Decoder` read a given concrete subtype of `Value` from a -[ByteBuffer][]. The class also contains factory methods to create -those instances. +Instances of `Decoder` read a given type of GVariant-encoded value +from a [ByteBuffer][]. The class also contains factory methods to +acquire those instances. The various subclasses of `Decoder` together implement the [GVariant serialization][] specification. +## Installation + +### Usage with Maven + + + ... + + + ... + + + eu.mulk.jgvariant + jgvariant-core + 0.1.0 + + + ... + + + ... + + + +### Usage with Gradle + + dependencies { + ... + + implementation("eu.mulk.jgvariant:jgvariant-core:0.1.0") + + ... + } + + ## Example To parse a [GVariant][] value of type `"a(si)"`, which is an array of -- cgit v1.2.3