Class DisThreadedNetworkInterface.ByteArrayBufferAndLength
java.lang.Object
edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface.ByteArrayBufferAndLength
- Enclosing class:
DisThreadedNetworkInterface
Stores data for further processing
- Since:
- Jul 29, 2019
- Author:
- Don Brutzman, brutzman@nps.edu, Mike Bailey, jmbailey@nps.edu
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
Active ByteArray bufferint
Active ByteArray buffer length -
Constructor Summary
ConstructorsConstructorDescriptionByteArrayBufferAndLength
(byte[] bufferByteArray, int length) Default constructor for data storage -
Method Summary
-
Field Details
-
bufferByteArray
public byte[] bufferByteArrayActive ByteArray buffer -
length
public int lengthActive ByteArray buffer length
-
-
Constructor Details
-
ByteArrayBufferAndLength
public ByteArrayBufferAndLength(byte[] bufferByteArray, int length) Default constructor for data storage- Parameters:
bufferByteArray
- the data buffer to storelength
- the length of the data buffer
-