Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Change deadbeef -> bada55
Browse files Browse the repository at this point in the history
  • Loading branch information
andreis committed Oct 31, 2017
1 parent e74fa29 commit c9e5b1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example_byteslice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ func ExampleLPad() {
}

func ExampleUnset() {
data := []byte{0xDE, 0xAD, 0xBE, 0xEF}
zeroes := []byte{0x00, 0x00, 0x00, 0x00}
data := []byte{0xba, 0xda, 0x55}
zeroes := []byte{0x00, 0x00, 0x00}

dat, err := Unset(data, zeroes)
fmt.Println(err, dat)
// Output: <nil> [0 0 0 0]
// Output: <nil> [0 0 0]
}

0 comments on commit c9e5b1d

Please sign in to comment.