Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
gen2brain committed Oct 28, 2017
1 parent 63cd9e0 commit 7010e96
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -57,6 +57,21 @@ if err != nil {
}
```

##### Read first 8 bytes of the entry
```go
err := a.Entry()
if err != nil {
panic(err)
}

data := make([]byte, 8)

n, err := a.Read(data)
if err != nil {
panic(err)
}
```

##### Read all entries from archive
```go
for {
Expand Down

0 comments on commit 7010e96

Please sign in to comment.