/** * Creates a new {@link WrappedByteArray} that is backed by the given primitive {@code array}. * * @param array * the to-be-wrapped array. May be <code>null</code> which will cause any method on the resulting * object to fail. * @return the wrapped array. Never <code>null</code>. */ @Pure public static WrappedByteArray create(byte[] array) { return new WrappedByteArray(array); }