Transpiled version (2488L) is out of date.
svoid bytesToChars_bigEndian(byte[] a, char[] b) { int n = l(a)/2; for i to n: b[i] = (char) (((int) a[i*2]) << 8 | ((int) a[i*2+1]) & 0xFF); } static char[] bytesToChars_bigEndian(byte[] a) { if (a == null) null; char[] b = new[a.length/2]; bytesToChars_bigEndian(a, b); ret b; }
Began life as a copy of #1008001
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029394 |
| Snippet name: | bytesToChars_bigEndian |
| Eternal ID of this version: | #1029394/4 |
| Text MD5: | b3cee3479fbc7eb3afab2bc38738bd78 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-05 15:06:46 |
| Source code size: | 308 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 494 / 626 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |