We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701154d commit f38bd94Copy full SHA for f38bd94
src/main/java/software/coley/llzip/util/FastWrapOutputStream.java
@@ -2,7 +2,15 @@
2
3
import java.io.ByteArrayOutputStream;
4
5
+/**
6
+ * Byte output stream with {@link BufferData} wrapping provided, without the array-copy of {@link #toByteArray()}.
7
+ *
8
+ * @author xDark
9
+ */
10
public final class FastWrapOutputStream extends ByteArrayOutputStream {
11
+ /**
12
+ * @return Wrapper of the current buffer.
13
14
public BufferData wrap() {
15
return BufferData.wrap(buf, 0, count);
16
}
0 commit comments