mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-15 17:02:06 +01:00
Implement efficient read(buf,off,len) for DelayedInputStream
This commit is contained in:
parent
fb637d51ed
commit
25b89f17c9
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
|
@Override
|
||||||
public int read(byte[] b, int off, int len) throws IOException {
|
public int read(byte[] b, int off, int len) throws IOException {
|
||||||
if (last != -1) {
|
if (last != -1) {
|
||||||
|
@ -145,7 +142,6 @@ public class TeeBCPGInputStream {
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Squeeze the last byte out and update the output stream.
|
* Squeeze the last byte out and update the output stream.
|
||||||
|
|
Loading…
Reference in a new issue