encodeToByteArray

encodes this number's value into a ByteArray using varint encoding