java.lang.Object
uk.ac.manchester.spinnaker.messages.Utils

public abstract class Utils
extends Object
Utilities for working with messages.
  • Method Details

    • wordAsBuffer

      public static ByteBuffer wordAsBuffer​(int value)
      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.