diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 0 insertions, 11 deletions
| @@ -11,17 +11,6 @@ import ( | |||
| 11 | ) | 11 | ) |
| 12 | 12 | ||
| 13 | func main() { | 13 | func main() { |
| 14 | /*var arr []byte = make([]byte, 4) | ||
| 15 | arr[0] = 200 | ||
| 16 | arr[1] = 10 | ||
| 17 | fmt.Printf("%b\n", arr[0]) | ||
| 18 | for _, s := range arr { | ||
| 19 | fmt.Printf("Value: %d - Binary : %b\n", s, s) | ||
| 20 | } | ||
| 21 | state := utils.ReadBitsFromReversedByteArray1(arr) | ||
| 22 | value := utils.ReadBitsFromReversedByteArray32(arr, 9) | ||
| 23 | fmt.Println(state) | ||
| 24 | fmt.Printf("Value: %d - Binary : %b\n", value, value)*/ | ||
| 25 | if len(os.Args) != 2 { | 14 | if len(os.Args) != 2 { |
| 26 | log.Fatal("Specify file in command line arguments.") | 15 | log.Fatal("Specify file in command line arguments.") |
| 27 | } | 16 | } |