initial commits
parent
bb8202d410
commit
d11a5a505d
14
README.md
14
README.md
|
@ -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)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue