Package com.reduxrobotics.frames
Interface ShortArrayFrame.ShortArrayToType<T>
- Enclosing class:
- ShortArrayFrame<T>
public static interface ShortArrayFrame.ShortArrayToType<T>
Functional interface for a function mapping a double data value to the final frame type.
For byte arrays this should probably ensure no references to the original array are present
(as they update)
-
Method Summary
-
Method Details
-
convert
Converison function from byte[] to the type parameter.- Parameters:
data
- The byte array data. If preserved in an output object, it should be cloned first to avoid data getting overwritten on next update.- Returns:
- a new object.
-