it shouldn't actually try to read the buffer at all, but it's just a safety dummy in case it does. It's a fake, empty buffer, with a length of 0 (so pos is always >= len). Does that make sense? I don't think it's a good idea to pass NULL in, just in case.