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

11
LINES

< > BotCompany Repo | #1028230 - rawByteReader - make BufferedReader that uses ISO-8859-1

JavaX fragment (include)

1  
static BufferedReader rawByteReader(InputStream in, int bufSize default 8192) ctex {
2  
  ret bufferedReader(_registerIOWrap(new InputStreamReader(in, "ISO-8859-1"), in), bufSize);
3  
}
4  
5  
static BufferedReader rawByteReader(File f) ctex {
6  
  ret rawByteReader(newFileInputStream(f));
7  
}
8  
9  
static BufferedReader rawByteReader(File f, int bufSize) ctex {
10  
  ret rawByteReader(newFileInputStream(f), bufSize);
11  
}

Author comment

Began life as a copy of #1008014

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028230
Snippet name: rawByteReader - make BufferedReader that uses ISO-8859-1
Eternal ID of this version: #1028230/2
Text MD5: bca7dd6f3fad33b708b7fc9ac112e570
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-02 18:02:37
Source code size: 407 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 87 / 118
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028230 & http://1028230.tinybrain.de