eventstore.util.ByteStringToString.scala Maven / Gradle / Ivy
The newest version!
package eventstore
package util
object ByteStringToString {
def apply(x: ByteString): String = {
val bytes = if (x.size <= 10) x.mkString(",")
else x.take(9).mkString("", ",", ",..")
s"ByteString($bytes)"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy