Skip to content

Commit

Permalink
Fix CompositeDecoder.decodeSequentially() documentation
Browse files Browse the repository at this point in the history
(based on #2787)
  • Loading branch information
sandwwraith committed Jan 6, 2025
1 parent c645f52 commit f17c83f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public interface CompositeDecoder {
* Sequential decoding is a performance optimization for formats with strictly ordered schema,
* usually binary ones. Regular formats such as JSON or ProtoBuf cannot use this optimization,
* because e.g. in the latter example, the same data can be represented both as
* `{"i": 1, "d": 1.0}`"` and `{"d": 1.0, "i": 1}` (thus, unordered).
* `{"i": 1, "d": 1.0}` and `{"d": 1.0, "i": 1}` (thus, unordered).
*/
@ExperimentalSerializationApi
public fun decodeSequentially(): Boolean = false
Expand Down

0 comments on commit f17c83f

Please sign in to comment.