# PetscViewerBinarySetSkipHeader
do not write a header with size information on output, just raw data 
## Synopsis
```
#include "petscviewer.h"   
PetscErrorCode PetscViewerBinarySetSkipHeader(PetscViewer viewer, PetscBool skip)
```
Not Collective


## Input Parameters

- ***viewer -*** `PetscViewer` context, obtained from `PetscViewerBinaryOpen()`
- ***skip -*** `PETSC_TRUE `means do not write header



## Options Database Key

- ***-viewer_binary_skip_header <true or false> -*** true means do not write header





## Notes
This must be called after `PetscViewerSetType()`

Is ignored on anything but a binary viewer


## See Also
 [](sec_viewers), `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetDescriptor()`, `PetscViewerBinarySkipInfo()`,
`PetscViewerBinaryGetSkipHeader()`

## Level
advanced

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/tutorials/ex15.c.html">src/dm/tutorials/ex15.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/binary/binv.c.html#PetscViewerBinarySetSkipHeader_Binary">PetscViewerBinarySetSkipHeader_Binary in src/sys/classes/viewer/impls/binary/binv.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/socket/send.c.html#PetscViewerBinarySetSkipHeader_Socket">PetscViewerBinarySetSkipHeader_Socket in src/sys/classes/viewer/impls/socket/send.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
