Description: To encode a binary data using runlength encoding with setting the count buffer to limit to a required datatype size value.
If image use reahape to make it to row.
To Search:
File list (Check if you may need any files):
encode1sN0sWithLimit.m