Transpiled version (9368L) is out of date.
1 | sS dataURLMimeType(S dataURL) { |
2 | if (!isDataURL(dataURL)) null; |
3 | S s = dropPrefixOrNull("data:", dataURL); |
4 | if (s == null) null; |
5 | int i = indexOfAny(s, ";,"); |
6 | if (i < 0) null; |
7 | ret takeFirst(s, i); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035794 |
Snippet name: | dataURLMimeType |
Eternal ID of this version: | #1035794/2 |
Text MD5: | 672f50df72869b53eb71c73c7b0af9dd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-29 19:22:23 |
Source code size: | 213 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 118 / 167 |
Version history: | 1 change(s) |
Referenced in: | [show references] |