mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-18 10:22:05 +01:00
Implement efficient read(buf,off,len) for DelayedInputStream
This commit is contained in:
parent
ca49ed087b
commit
f86aae4997
1 changed files with 0 additions and 4 deletions
|
@ -127,9 +127,6 @@ public class TeeBCPGInputStream {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: Uncomment, once BC-172.1 is available
|
||||
// see https://github.com/bcgit/bc-java/issues/1257
|
||||
/*
|
||||
@Override
|
||||
public int read(byte[] b, int off, int len) throws IOException {
|
||||
if (last != -1) {
|
||||
|
@ -145,7 +142,6 @@ public class TeeBCPGInputStream {
|
|||
}
|
||||
return r;
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Squeeze the last byte out and update the output stream.
|
||||
|
|
Loading…
Reference in a new issue