ByteArrayProvider, ByteBlockProvider, ByteDatagramProvider, ByteProvider, org.refcodes.structure.ByteArrayAccessorpublic 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 | 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 | Description |
|---|---|---|
byte[] |
getBytes() |
Provides access to the remaining backing byte array.
|
pushDatagram, pushDatagrams, pushDatagrams, readDatagram, readDatagrams, readDatagramsreadDatagramreadDatagrams, readDatagramspublic ByteArrayProviderImpl(byte[] aDatagrams)
aDatagrams - the datagramspublic byte[] getBytes()
ByteDatagramProvider.readDatagram() or ByteProvider.readDatagrams(int)
are not contained in the returned array.getBytes in interface org.refcodes.structure.ByteArrayAccessorgetBytes in interface ByteArrayProviderCopyright © 2018. All rights reserved.