WriteAt doesn't seem to be working quite right
the std lib does some smart things around jumping to a specific, potentially non existing location and write there. If you do a write at to an existing point the existing is overwritten, we need tests for that.
I assume the issues is related to the fact that the purpose of bytes.Buffer is to append and read from the current cursor, not really to seek it or overwrite existing sections in the buffer. I tried using the library in combination with wav.Encoder which was not fruitful so I replaced bytes.Buffer with a slice.
Here is what I came up with: https://github.com/corticph/slicewriteseek
Looks good!
@mattetti Thank you for the library! Any update for WriteAt method?