Allow a max encoder buffer size of zero