The name makes it pretty clear it needs a buffer. Is this assert really necessary?