public class ByteArrayAcceptor extends AbstractIntAcceptor<byte[]>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INITIAL_CAPACITY |
| Constructor and Description |
|---|
ByteArrayAcceptor() |
ByteArrayAcceptor(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInt(int value)
Accept an
int, after closed check and test for end of data. |
void |
clear() |
byte[] |
getResult()
Get the result of the acceptor.
|
int |
length() |
accept, acceptclose, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accept, accept, accept, accept, accept, accept, acceptflush, isClosed, isComplete, safeClosecloseandThenpublic static final int DEFAULT_INITIAL_CAPACITY
public ByteArrayAcceptor(int initialCapacity)
public ByteArrayAcceptor()
public void acceptInt(int value)
AbstractIntAcceptorint, after closed check and test for end of data. Implementing classes must supply an
implementation of this method.acceptInt in class AbstractIntAcceptor<byte[]>value - the input valuepublic byte[] getResult()
BaseAcceptorpublic int length()
public void clear()
Copyright © 2025. All rights reserved.