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)

static BufferedReader rawByteReader(InputStream in, int bufSize default 8192) ctex {
  ret bufferedReader(_registerIOWrap(new InputStreamReader(in, "ISO-8859-1"), in), bufSize);
}

static BufferedReader rawByteReader(File f) ctex {
  ret rawByteReader(newFileInputStream(f));
}

static BufferedReader rawByteReader(File f, int bufSize) ctex {
  ret rawByteReader(newFileInputStream(f), bufSize);
}

Author comment

Began life as a copy of #1008014

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: #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: 320 / 352
Version history: 1 change(s)
Referenced in: [show references]