Skip to content

Commit

Permalink
CBOR: clode DefiniteLengthCborWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Jul 2, 2024
1 parent 682f363 commit 3d8768c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ internal class IndefiniteLengthCborWriter(cbor: Cbor, output: ByteArrayOutput) :
}

//optimized definite length encoder
internal open class DefiniteLengthCborWriter(cbor: Cbor, output: ByteArrayOutput) : CborWriter(cbor, output) {
internal class DefiniteLengthCborWriter(cbor: Cbor, output: ByteArrayOutput) : CborWriter(cbor, output) {

private val structureStack = Stack(Data(output, -1))
override fun getDestination(): ByteArrayOutput =
Expand Down

0 comments on commit 3d8768c

Please sign in to comment.