Changed ByteArrayWrapper.nocopy -> wrap
This commit is contained in:
parent
a939f5f4a4
commit
7f5cdf0abe
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user