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

7
LINES

< > BotCompany Repo | #1008014 // utf8bufferedReader - make BufferedReader from InputStream or File

JavaX fragment (include)

1  
static BufferedReader utf8bufferedReader(InputStream in) ctex {
2  
  ret in == null ?: bufferedReader(_registerIOWrap(new InputStreamReader(in, "UTF-8"), in));
3  
}
4  
5  
static BufferedReader utf8bufferedReader(File f) ctex {
6  
  ret utf8bufferedReader(newFileInputStream(f));
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008014
Snippet name: utf8bufferedReader - make BufferedReader from InputStream or File
Eternal ID of this version: #1008014/6
Text MD5: 439caa8f97782020ab6adf82039eaabe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 23:20:03
Source code size: 272 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 587 / 625
Version history: 5 change(s)
Referenced in: [show references]