docs: public static void numberToBytes(int number, byte[] buffer, int start, int length) {
          for (int index = start + length - 1; index >= start; index--) {
              buffer[index] = (byte)(number & 0xff);
              number = number >> 8;
          }
      }