Skip to content

Commit 16a85df

Browse files
authored
Minor Kdoc update (#1999)
Follow up from #1982. Since a `BufferedSink` is now required, no need to add this in the documentation.
1 parent 83b6e33 commit 16a85df

File tree

1 file changed

+0
-2
lines changed
  • formats/json-okio/commonMain/src/kotlinx/serialization/json/okio

1 file changed

+0
-2
lines changed

formats/json-okio/commonMain/src/kotlinx/serialization/json/okio/OkioStreams.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public fun <T> Json.encodeToBufferedSink(
3838
/**
3939
* Serializes given [value] to a [target] using UTF-8 encoding and serializer retrieved from the reified type parameter.
4040
*
41-
* If [target] is not a [BufferedSink] then called [Sink.buffer] for it to create buffered wrapper.
42-
*
4341
* @throws [SerializationException] if the given value cannot be serialized to JSON.
4442
* @throws [okio.IOException] If an I/O error occurs and sink can't be written to.
4543
*/

0 commit comments

Comments
 (0)