Include buffer length, offset and count parameters in buffer exceptions