How can I remove 0 bytes from base64 string [closed]

view story

http://stackoverflow.com – I am a newbie to base64 strings. I've stored base64 string in C,but I found out that some of the characters are missing from actual base64 code. sed -n "/start/,/end/p" $file1 > $file2 I've base64 string from htmlfile using sed command. Now I am storing it into C string by reading the file2 And I found that it is containing 0 bytes (HowTos)