mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-22 08:13:49 +00:00
Base64ByteArraySerializer
This commit is contained in:
parent
0c9283eb87
commit
9acb9af338
@ -2,6 +2,10 @@
|
||||
|
||||
## 0.4.18
|
||||
|
||||
* `Serialization`
|
||||
* `Base 64`
|
||||
* New `Base64ByteArraySerializer` has been added
|
||||
|
||||
## 0.4.17
|
||||
|
||||
* `Common`
|
||||
|
@ -18,3 +18,4 @@ open class Base64Serializer<T>(
|
||||
}
|
||||
|
||||
object Base64StringSerializer : Base64Serializer<String>({ it }, { it })
|
||||
object Base64ByteArraySerializer : Base64Serializer<ByteArray>({ it.decodeToString() }, { it.encodeToByteArray() })
|
||||
|
Loading…
Reference in New Issue
Block a user