Skip to content

Commit

Permalink
fix: fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Oct 11, 2024
1 parent 9e2a150 commit 2824687
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions zenoh-kotlin/src/commonMain/kotlin/io/zenoh/bytes/Encoding.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ package io.zenoh.bytes
* This is particularly useful in helping Zenoh to perform additional network optimizations.
*/
class Encoding private constructor(
private val id: Int,
private val schema: String? = null,
internal val id: Int,
internal val schema: String? = null,
private val description: String? = null
) {
internal constructor(id: Int, schema: String? = null) : this(id, schema, null)

companion object {
/**
* Just some bytes.
Expand Down

0 comments on commit 2824687

Please sign in to comment.