io.circe.StringUtil.scala Maven / Gradle / Ivy
package io.circe
private[circe] object StringUtil {
def toString[A](buf: Array[Byte], len: Int): String = {
val end = len - 1
var s = ""
var i = 1
while (i < end) {
s += buf(i).toChar.toString
i += 1
}
s
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy