Improve xitrum.util.SeriDeseri methods #467

ngocdaothanh opened this Issue Sep 30, 2014 · 0 comments


None yet

1 participant


The idea is that SeriDeseri should basically work on objects, not bytes.


toBase64(bytes: Array[Byte]): String
fromBase64(base64String: String): Option[Array[Byte]]

toUrlSafeBase64(bytes: Array[Byte]): String
fromUrlSafeBase64(base64String: String): Option[Array[Byte]]


toBase64(any: Any): String
fromBase64[T](base64String: String)(implicit m: Manifest[T]): Option[T]

toUrlSafeBase64(any: Any): String
fromUrlSafeBase64[T](base64String: String)(implicit m: Manifest[T]): Option[T]


bytesToBase64(bytes: Array[Byte]): String
bytesFromBase64(base64String: String): Option[Array[Byte]]

bytesToUrlSafeBase64(bytes: Array[Byte]): String
bytesFromUrlSafeBase64(base64String: String): Option[Array[Byte]]
@ngocdaothanh ngocdaothanh self-assigned this Sep 30, 2014
@ngocdaothanh ngocdaothanh added this to the Xitrum 3.19 milestone Sep 30, 2014
@ngocdaothanh ngocdaothanh changed the title from Improve xitrum.util.SeriDeseri to Improve xitrum.util.SeriDeseri methods Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment