1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-05 20:15:59 +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 dfb7d068bd
commit c20e80f716

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.