:orphan:
# PetscViewerBinaryReadStringArray
reads a binary file an array of strings to all MPI processes 
## Synopsis
```
#include "petscviewer.h"   
PetscErrorCode PetscViewerBinaryReadStringArray(PetscViewer viewer, char ***data)
```
Collective


## Input Parameter

- ***viewer -*** the `PETSCVIEWERBINARY` viewer



## Output Parameter

- ***data -*** location of the array of strings





## Note
The array of strings must `NULL` terminated


## See Also
 [](sec_viewers), `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()`, `PetscViewerDestroy()`,
`VecView()`, `MatView()`, `VecLoad()`, `MatLoad()`, `PetscViewerBinaryGetDescriptor()`,
`PetscViewerBinaryGetInfoPointer()`, `PetscFileMode`, `PetscViewer`, `PetscViewerBinaryRead()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/binary/binv.c.html#PetscViewerBinaryReadStringArray">src/sys/classes/viewer/impls/binary/binv.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/binary/binv.c)


[Index of all Viewer routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
