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

6
LINES

< > BotCompany Repo | #1012978 // toUtf8_generic

JavaX fragment (include)

static byte[] toUtf8_generic(O o) {
  if (o instanceof S) ret toUtf8((S) o);
  if (o instanceof byte[]) ret (byte[]) o;
  if (o == null) null;
  fail(className(o));
}

Author comment

Began life as a copy of #1012977

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012978
Snippet name: toUtf8_generic
Eternal ID of this version: #1012978/1
Text MD5: a46b60d8ff66c958b10b56bd4279ed80
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-19 00:31:40
Source code size: 171 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 469
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)