public class ByteArrayProviderImpl extends AbstractByteProvider implements ByteArrayProvider
org.refcodes.structure.ByteArrayAccessor.ByteArrayBuilder<B extends org.refcodes.structure.ByteArrayAccessor.ByteArrayBuilder<B>>, org.refcodes.structure.ByteArrayAccessor.ByteArrayMutator, org.refcodes.structure.ByteArrayAccessor.ByteArrayProperty_datagramQueue, DATAGRAM_QUEUE_SIZE| Constructor and Description |
|---|
ByteArrayProviderImpl(byte[] aDatagrams)
Instantiates a new byte array provider impl.
|
ByteArrayProviderImpl(List<Byte> aDatagrams)
Instantiates a new byte array provider impl.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Provides access to the remaining backing byte array.
|
pushDatagram, pushDatagrams, pushDatagrams, readDatagram, readDatagrams, readDatagramsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadDatagrams, readDatagramsreadDatagrampublic ByteArrayProviderImpl(byte[] aDatagrams)
aDatagrams - the a datagramspublic byte[] getBytes()
ByteArrayProviderByteDatagramProvider.readDatagram() or ByteProvider.readDatagrams(int)
are not contained in the returned array.getBytes in interface ByteArrayProvidergetBytes in interface org.refcodes.structure.ByteArrayAccessorCopyright © 2017. All rights reserved.