diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-12-28 01:31:56 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2021-12-28 01:31:56 +0100 |
commit | aa29484fe74aa2954df35c35306562404043daa9 (patch) | |
tree | 830e9f4489e4ba10b62f8eddb3a7f017b64aa0ae /README.md | |
parent | 329168c9f3b1e23f440f0c39fca421e1e226c391 (diff) |
README: Add module overview.
Change-Id: I8c4701e8d4561940025165dd3beb448e3443de36
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,13 +5,16 @@ This library provides a [GVariant][] parser in pure Java. ## Overview -Instances of `Decoder<T>` 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<T>`, 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<T>` 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 |