Don't cast ref objects unless the underlying representation is compatible (seq[byte] and strings).
Definitely don't cast ref objects to int. How would the garbage collector collect that?
Don't cast ref objects unless the underlying representation is compatible (seq[byte] and strings).
Definitely don't cast ref objects to int. How would the garbage collector collect that?