end method
Ends encoding the iterated collection.
No more items should be encoded after this method has been called.
Implementation
@override
void end() {
_parentPacker.packListLength(realLength);
_parentPacker._putBytes(_packer.takeBytes());
}