public class CountingOutputStream extends FilterOutputStream
out
Constructor and Description |
---|
CountingOutputStream(OutputStream stream,
long offset) |
Modifier and Type | Method and Description |
---|---|
int |
finalizeChecksum() |
long |
getPosition() |
void |
resetChecksum() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush
public CountingOutputStream(OutputStream stream, long offset)
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void resetChecksum()
public int finalizeChecksum()
public long getPosition()
Copyright © 2018. All rights reserved.