1
0
Fork 0
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:
Paul Schaub 2022-11-02 10:37:24 +01:00
parent ca49ed087b
commit f86aae4997

View file

@ -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.