Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1018089 // charsToSingleBytes (drop higher byte)

JavaX fragment (include)

static byte[] charsToSingleBytes(S s) {
  byte[] b = new byte[l(s)];
  for (int i = 0; i < l(s); i++)
    b[i] = (byte) s.charAt(i);
  ret b;
}

Author comment

Began life as a copy of #1005035

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018089
Snippet name: charsToSingleBytes (drop higher byte)
Eternal ID of this version: #1018089/1
Text MD5: 2f3933e47056f4aadf89a876863264fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-31 14:28:39
Source code size: 148 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 385
Referenced in: [show references]