initial commits

master
Charles Iliya Krempeaux 2024-01-20 10:57:28 -08:00
parent bb8202d410
commit d11a5a505d
1 changed files with 14 additions and 0 deletions

View File

@ -239,6 +239,20 @@ Or in hexadecimal this would be:
For now the only version of the **zarf format** is version 1. For now the only version of the **zarf format** is version 1.
So you should just look for the "1" character (i.e., hexadecimal `0x31`). So you should just look for the "1" character (i.e., hexadecimal `0x31`).
### Writing The First and Second Lines
If you are creating a **zarf** file, then you can create the first and second lines of a **zarf** file with code like the following —
In the Go programming language, it would look like:
```go
var writer io.Writer = os.Stdout // you can change this from os.Stdout to a file
// ...
fmt.Fprintln(writer, "ZARF/1")
fmt.Fprintln(writer)
```