Fix issue #5542 (#5543)
Empty objects that inherit from Sized would try to access internal ByteBuffer when Sized::size was called. So we add a single byte in the empty buffer, so when size() is called it would return 0
Showing
Please
register
or
sign in
to comment