Class Utils
java.lang.Object
uk.ac.manchester.spinnaker.messages.Utils
public abstract class Utils extends Object
Utilities for working with messages.
-
Method Summary
Modifier and Type Method Description static ByteBuffer
wordAsBuffer(int value)
Convert a word to a buffer that could form part of a message understood by SpiNNaker.
-
Method Details
-
wordAsBuffer
Convert a word to a buffer that could form part of a message understood by SpiNNaker.- Parameters:
value
- The value to put in the buffer as a single 32-bit word.- Returns:
- The buffer, flipped. The buffer is writable and has a backing array.
-