Skip to content

Commit

Permalink
Wired in short and byte encoders
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Apr 28, 2024
1 parent c8170e0 commit 04a03ab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ fun interface Encoder<T> {
Double::class -> DoubleEncoder
Int::class -> IntEncoder
Long::class -> LongEncoder
Short::class -> ShortEncoder
Byte::class -> ByteEncoder
BigDecimal::class -> BigDecimalStringEncoder
Set::class -> SetEncoder(encoderFor(type.arguments.first().type!!))
List::class -> ListEncoder(encoderFor(type.arguments.first().type!!))
Expand Down

0 comments on commit 04a03ab

Please sign in to comment.