write

fun write(ref: BytesRef)
fun write(bytes: ByteArray)
fun write(bytes: ByteArray, off: Int, len: Int)