From aa29484fe74aa2954df35c35306562404043daa9 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 28 Dec 2021 01:31:56 +0100 Subject: README: Add module overview. Change-Id: I8c4701e8d4561940025165dd3beb448e3443de36 --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 39d39e3..f1a2d05 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,16 @@ This library provides a [GVariant][] parser in pure Java. ## Overview -Instances of `Decoder` read a given type of GVariant-encoded value -from a [ByteBuffer][]. The class also contains factory methods to -acquire those instances. +`jgvariant-core` provides `Decoder`, which 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. +`jgvariant-ostree` provides instances of `Decoder` for various +[GVariant][] types used in [OSTree][] repositories. + ## Example @@ -89,4 +92,5 @@ pairs of [String][] and `int`, you can use the following code: [ByteBuffer]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html [GVariant]: https://docs.gtk.org/glib/struct.Variant.html [GVariant serialization]: https://people.gnome.org/~desrt/gvariant-serialisation.pdf +[OSTree]: https://ostreedev.github.io/ostree/ [String]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html -- cgit v1.2.3