Frontend and Mobile Developer. Expo. React. Remix.
- Hamburg
- http://albert-schilling.com
Highlights
- Pro
Pinned Loading
-
Retrieve the mime type via the types...
Retrieve the mime type via the types magic number from a base 64 string 1export async function getMimeType(base64String: string): Promise<string> {
2// convert to data url
3const url = base64String.startsWith('data') ? base64String : `data:undefined;base64,${base64String}`;
4const buffer = await urlToArrayBuffer(url);
5const uint = new Uint8Array(buffer);
-
personal-website
personal-website PublicMy personal website to present myself as frontend developer
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.