resize

fun resize(newBits: Int, value: Boolean = false)

Resize to newBits length; bits added on growth take value.