Joined February 2013
·
Achievements
72 Karma
0 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Beaver
Have at least one original repo where go is the dominant language
Charity
Fork and commit to someone's open source project in need
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Komodo Dragon
Have at least one original repo where Java is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Instead of the double loop to convert the string array to a byte array, why not do:
To simplify things further, you could import the "strings" library and call strings.Join() on the str array.
If net.Conn complies with the io.Reader interface, you could also use bytes.Buffer for reading from the connection. I don't think it does comply, however.