resources/src/main/java/org/robolectric/res/android/ZipFileRO.java
int getEntryFileName(org.robolectric.res.android.ZipFileRO.ZipEntryRO entry, Ref<String> buffer)
  {
    buffer.set(entry.entry.getName());

//    final ZipEntryRO* zipEntry = reinterpret_cast<ZipEntryRO*>(entry);
//    final uint16_t requiredSize = zipEntry.name.name_length + 1;
//
//    if (bufLen < requiredSize) {
//      ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize);
//      return requiredSize;
//    }
//
//    memcpy(buffer, zipEntry.name.name, requiredSize - 1);
//    buffer[requiredSize - 1] = '\0';
//
    return 0;
  }
int getEntryFileName(org.robolectric.res.android.ZipFileRO.ZipEntryRO entry, Ref<String> buffer)
  {
    buffer.set(entry.entry.getName());

//    final ZipEntryRO* zipEntry = reinterpret_cast<ZipEntryRO*>(entry);
//    final uint16_t requiredSize = zipEntry.name.name_length + 1;
//
//    if (bufLen < requiredSize) {
//      ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize);
//      return requiredSize;
//    }
//
//    memcpy(buffer, zipEntry.name.name, requiredSize - 1);
//    buffer[requiredSize - 1] = '\0';
//
    return 0;
  }
int getEntryFileName ( org . robolectric . res . android . ZipFileRO . ZipEntryRO entry , Ref < String > buffer ) { buffer . set ( entry . entry . getName ( ) ) ; //    final ZipEntryRO* zipEntry = reinterpret_cast<ZipEntryRO*>(entry); //    final uint16_t requiredSize = zipEntry.name.name_length + 1; // //    if (bufLen < requiredSize) { //      ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize); //      return requiredSize; //    } // //    memcpy(buffer, zipEntry.name.name, requiredSize - 1); //    buffer[requiredSize - 1] = '\0'; // return 0 ; }
/*
Copy the entry's filename to the buffer.
/ * Copy the entry s filename to the buffer .