@Override
  public int read(int nativeMemoryOffset, byte[] byteArray, int byteArrayOffset, int count) {
    // NULLSAFE_FIXME[Nullable Dereference]
    int numToRead = Math.min(count, mBuf.length - nativeMemoryOffset);
    // NULLSAFE_FIXME[Parameter Not Nullable]
    System.arraycopy(mBuf, nativeMemoryOffset, byteArray, byteArrayOffset, numToRead);
    return numToRead;
  }
A fake implementation of {@link com.facebook.imagepipeline.memory.NativeMemoryChunk} to allow us
to test out pools and other functionality. This uses byte arrays instead of actual native memory,
but supports the same public interface
memory-types/nativememory/src/test/java/com/facebook/imagepipeline/testing/FakeNativeMemoryChunk.java