Package frc.team_8840_lib.utils.buffer
Class ByteConversions
java.lang.Object
frc.team_8840_lib.utils.buffer.ByteConversions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]combineByteArrays(byte[]... arrs) static byte[]combineByteArrays(byte inbetween, byte[]... ars) static byte[]doubleToByteArray(double _i) static byte[]intToByteArray(int i) static byte[]possibleNegDoubleTo9ByteArray(double i) static byte[]
-
Constructor Details
-
ByteConversions
public ByteConversions()
-
-
Method Details
-
possibleNegDoubleTo9ByteArray
- Throws:
IOException
-
doubleToByteArray
- Throws:
IOException
-
stringToByteArray
- Throws:
IOException
-
intToByteArray
- Throws:
IOException
-
combineByteArrays
public static byte[] combineByteArrays(byte[]... arrs) -
combineByteArrays
public static byte[] combineByteArrays(byte inbetween, byte[]... ars)
-