Package w.util.io
Class UncappedByteOutput
java.lang.Object
w.util.io.AbstractByteOutput
w.util.io.UncappedByteOutput
- All Implemented Interfaces:
ByteOutput
- Author:
- whilein
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ByteOutputcreate()static @NotNull ByteOutputcreate(int initialCap) protected voidensure(int count) intvoidsetLength(int length) byte @NotNull []@NotNull StringtoString()Methods inherited from class w.util.io.AbstractByteOutput
getCapacity, write, write, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface w.util.io.ByteOutput
getPosition, setPosition
-
Method Details
-
create
-
create
-
ensure
protected void ensure(int count) - Specified by:
ensurein classAbstractByteOutput
-
setLength
public void setLength(int length) -
getLength
public int getLength() -
toString
- Specified by:
toStringin interfaceByteOutput- Overrides:
toStringin classObject
-
toByteArray
public byte @NotNull [] toByteArray()
-