For encoding base64 partially, very first you might want to know how base64 encoding function. Examine below URL for it.
am i able to break up the byte array into a number of sections after which run encoding on them https://susanbtml112277.activoblog.com/30302748/5-simple-techniques-for-12345678aa