Transpiled version (3798L) is out of date.
sS readHttpHeaderLine(InputStream inputStream) throws IOException { new ByteArrayOutputStream byteArrayOutputStream; int c; for (c = inputStream.read(); c != '\n' && c != -1 ; c = inputStream.read()) if (c != '\r') byteArrayOutputStream.write(c); if (c == -1 && byteArrayOutputStream.size() == 0) null; ret byteArrayOutputStream.toString("US-ASCII"); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032714 |
Snippet name: | readHttpHeaderLine |
Eternal ID of this version: | #1032714/2 |
Text MD5: | 4ac4e635e7fa9e1bf1b596392e5e1ea5 |
Author: | stefan |
Category: | javax / http |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-03 17:59:35 |
Source code size: | 380 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 152 / 224 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |