Skip to content

gld-kiln-java

gld-kiln-java encodes and decodes Kiln wire v2 in Java. Structs are positional, tensor payloads stay byte arrays, and a hostile count is rejected before the decoder allocates storage for it.

The library is from scratch. It does not wrap another Kiln implementation, and it is not the specification.

  • Why Kiln explains what this Java library is for.
  • Instructions covers install, encode, decode, and the generator.
  • Examples shows a struct, a frame, and a tensor directory.
  • Techniques describes buffers, views, and the count check.
  • Test data lists the cases and the Python oracle.

The generator command is gld-kilngen-java. The import package is io.github.leogan.kiln.