diff --git a/README.md b/README.md index cce8e6f..256e695 100644 --- a/README.md +++ b/README.md @@ -239,6 +239,20 @@ Or in hexadecimal this would be: 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`). +### 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) +```