We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da37256 commit 7287cc9Copy full SHA for 7287cc9
README.md
@@ -87,8 +87,7 @@ payloads for Kotlin classes by moving structural metadata into a compact header.
87
88
```kotlin
89
val compactFormat = PackedFormat {
90
- defaultVarInt = true // All Int/Long use VarInt by default
91
- defaultZigZag = true // All Int/Long use ZigZag by default
+ defaultEncoding = PackedIntegerType.SIGNED
92
serializersModule = myCustomModule
93
}
94
val bytes = PackedFormat.encodeToBytes(payload)
0 commit comments