Transpiled version (3798L) is out of date.
1 | sS readHttpHeaderLine(InputStream inputStream) throws IOException { |
2 | new ByteArrayOutputStream byteArrayOutputStream; |
3 | int c; |
4 | for (c = inputStream.read(); c != '\n' && c != -1 ; c = inputStream.read()) |
5 | if (c != '\r') |
6 | byteArrayOutputStream.write(c); |
7 | if (c == -1 && byteArrayOutputStream.size() == 0) null; |
8 | ret byteArrayOutputStream.toString("US-ASCII"); |
9 | } |
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: | 151 / 224 |
Version history: | 1 change(s) |
Referenced in: | [show references] |