Write the header to the specified stream.
| this |
a Header |
| options |
a FormatOptions or null |
| stream |
a Stream |
|
the number of bytes written, or %-1 on fail. |