The buffer is just a chunk of whatever, right? I can't figure out its "length", I have to keep track of number of bytes myself?