Package de.mhus.lib.core.util
Class ByteBufferArray
- java.lang.Object
-
- de.mhus.lib.core.util.ByteBufferArray
-
public class ByteBufferArray extends Object
-
-
Constructor Summary
Constructors Constructor Description ByteBufferArray()ByteBufferArray(int initial)ByteBufferArray(int initial, int extend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(byte in)voidappend(byte[] in)voidappend(byte[] in, int offset, int len)voidclear()byte[]getInternalBuffer()intgetSize()booleanisCurrentlyFull()byte[]toByte()
-
-
-
Method Detail
-
append
public void append(byte in)
-
append
public void append(byte[] in)
-
append
public void append(byte[] in, int offset, int len)
-
getSize
public int getSize()
-
toByte
public byte[] toByte()
-
isCurrentlyFull
public boolean isCurrentlyFull()
-
getInternalBuffer
public byte[] getInternalBuffer()
-
clear
public void clear()
-
-