diff --git a/README.md b/README.md index 2528b9f..94829b7 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ fun main() { // Deserializing objects Files.newInputStream(Path("your-file.bin")).use { fileStream -> - AvroObjectContainer.decodeFromStream(valuesToEncode, fileStream, builder).forEach { + AvroObjectContainer.decodeFromStream(fileStream).forEach { println(it) // Project(name=kotlinx.serialization, language=Kotlin) ... } }