| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 907efea commit 201f885
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,11 +75,7 @@ func main() { | |||
| 75 | 75 | c += byte((j & b[i]) >> i) | |
| 76 | 76 | } | |
| 77 | 77 | ||
| 78 | - // https://stackoverflow.com/questions/16888357/convert-an-integer-to-a-byte-array | ||
| 79 | - //bs := make([]byte, 4) | ||
| 80 | - //binary.LittleEndian.PutUint32(bs, 31415926) | ||
| 81 | - | ||
| 82 | - _, err := w.Write([]byte{c}) | ||
| 78 | + err := w.WriteByte(c) | ||
| 83 | 79 | if err != nil { | |
| 84 | 80 | panic(err) | |
| 85 | 81 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments