Class Utils
java.lang.Object
uk.ac.manchester.spinnaker.messages.Utils
Utilities for working with messages.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-