code: @Override
      public long size() {
          if (this.isDirectory()) {
              return -1L;
          }
  
          final Asset asset = this.getArchive().get(this.path.toString()).getAsset();
          final InputStream stream = asset.openStream();
          int totalRead = 0;
          final byte[] buffer = new byte[1024 * 4];
          int read = 0;
          try {
              while ((read = stream.read(buffer, 0, buffer.length)) != -1) {
                  totalRead += read;
              }
          } catch (final IOException ioe) {
              throw new RuntimeException(ioe);
          }
  
          return totalRead;
      }
docs: {@inheritDoc}
  
  @see java.nio.file.attribute.BasicFileAttributes#size()