sorry to say that almost everything you've said is incorrect. i'm not sure where to begin.
there is no base64 "structure". there are some rules, but they are not complicated. the purpose is to convert 8-bit binary characters to 7-bit characters for transport over the internet. many protocols (eg, email) still use base64. you can google the formula for base64 coding/encoding.
you can't look at a base64 string and understand it. there are no "blocks" in a base64 string. it's just a "string". when you convert a base64 string back to binary bytes, the result may well have a block structure (eg, image files), but this has nothing to do with base64. it is possible to look at the first few characters of a base64 string and guess what the string represents. for example, one of the identifying signatures of a jpg file is "/9j/" at the start. you can see that in a base64 string or in a .jpg file (with a binary viewer). this doesn't mean you can take a base64 string and put "/9j/" at the start and make a .jpg out of it.
"data:image/jpeg;base64,/9j/4AAQSkZJRgABA
is not a base64 string. the part that starts with "/9j/" is the start of the base64 string.
is just a regular string that tells a browser that a base64-encoded image follows.
there is no reason why you cannot download a base64 string. a server simply has to serve you one. if your server does not serve images encoded as base64, you can't do it. you are, of course, free to download an image as an image and convert it to base64 if you like. although i do not understand why you would want to do that.
I am trying to transform any string into a BASE64 and charge an bitmap with it.
if you are talking about taking a base64-encoded string that represents a bitmap and you want to see it as an image, then, yes, this is easy.
if, on the other hand, you are talking about literally taking
any string and making it into an image, then you will need a library (at least), and base64 is probably the least of your concerns. are you saying: "hello, carlos" ----> base64 ----> bitmap ? this is something quite different. of course, it be done, but you have to know the formats of image files and how to build one. these formats will not be base64.
you have to know how to create a jpg file from nothing. "hello, carlos" is just a string of bytes. if you know how to create a jpg file, you would know how to insert that string of bytes into the format.
if you want to take "any" string and make it into a bitmap with b4a, it's simple, and you don't need base64: create a bitmap, put a canvas on top, draw "hellow, carlos" on the canvas and write the canvas.bitmap to a file. no base64 needed.
if you're talking about downloading things like "data:image/jpeg;base64,/9j/4AAQSkZJRgABA[" from some website, then i've explained what that string is telling you. take the base64 part and do what i did in my example.