code: public boolean readNextProtoBytes(BytesWritable writable) throws IOException {
      byte[] blob = readNextProtoBytes();
      if (blob != null) {
        writable.set(blob, 0, blob.length);
        return true;
      }
      return false;
    }
docs: returns true if bytes for next object are written to writable, false
  other wise.