mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-01 00:00:02 -04:00
Added some TODOs..
This commit is contained in:
@@ -60,6 +60,7 @@ public final class DecoderStream extends FilterInputStream {
|
|||||||
* @see java.io.FilterInputStream#in
|
* @see java.io.FilterInputStream#in
|
||||||
*/
|
*/
|
||||||
public DecoderStream(final InputStream pStream, final Decoder pDecoder) {
|
public DecoderStream(final InputStream pStream, final Decoder pDecoder) {
|
||||||
|
// TODO: Let the decoder decide preferred buffer size
|
||||||
this(pStream, pDecoder, 1024);
|
this(pStream, pDecoder, 1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ public final class PackBitsDecoder implements Decoder {
|
|||||||
int read = 0;
|
int read = 0;
|
||||||
final int max = pBuffer.length;
|
final int max = pBuffer.length;
|
||||||
|
|
||||||
|
// TODO: Don't decode more than single runs, because some writers add pad bytes inside the stream...
|
||||||
while (read < max) {
|
while (read < max) {
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user