Libraryless. Click here for Pure Java version (3881L/22K).
svoid verifyInputStream(InputStream in, byte[] data) ctex { int n = l(data); for i to n: assertEquals("Byte " + i, ubyteToInt(data[i]), in.read()); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032925 |
Snippet name: | verifyInputStream |
Eternal ID of this version: | #1032925/3 |
Text MD5: | 01a06536a77dc80712f9bbcda421267c |
Transpilation MD5: | 5437fa3e0644664269e53b8ef602a7fb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-10 23:33:33 |
Source code size: | 161 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 165 / 229 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032926 - verifyInputStreamWithEOF |