Class ByteConversions

java.lang.Object
frc.team_8840_lib.utils.buffer.ByteConversions

public class ByteConversions extends Object
  • Constructor Details

    • ByteConversions

      public ByteConversions()
  • Method Details

    • possibleNegDoubleTo9ByteArray

      public static byte[] possibleNegDoubleTo9ByteArray(double i) throws IOException
      Throws:
      IOException
    • doubleToByteArray

      public static byte[] doubleToByteArray(double _i) throws IOException
      Throws:
      IOException
    • stringToByteArray

      public static byte[] stringToByteArray(String i) throws IOException
      Throws:
      IOException
    • intToByteArray

      public static byte[] intToByteArray(int i) throws IOException
      Throws:
      IOException
    • combineByteArrays

      public static byte[] combineByteArrays(byte[]... arrs)
    • combineByteArrays

      public static byte[] combineByteArrays(byte inbetween, byte[]... ars)