Safe `arraycopy` Method


/ Published in: Java
Save to your folder(s)

Does the same as `System.arraycopy(source, copyFrom ,target, copyTo, length)` but without worrying about invalid input. Example for an array of characters.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.