encode

fun encode(    input: ByteArray,     offset: Int,     len: Int): String
fun encode(input: ByteArray): String