Changed ByteArrayWrapper.nocopy -> wrap

This commit is contained in:
nathan 2014-08-28 00:20:12 +02:00
parent a939f5f4a4
commit 7f5cdf0abe

View File

@ -21,7 +21,7 @@ public final class ByteArrayWrapper {
* Does not make a copy of the data, so changes to the original will also affect the wrapper.
* Side affect is no extra memory is needed.
*/
public static ByteArrayWrapper noCopy(byte[] data) {
public static ByteArrayWrapper wrap(byte[] data) {
return new ByteArrayWrapper(data, false);
}