Byte Array
Byte Array Input

Creates a byte array from hexadecimal values.
Enter bytes in hex format (e.g., 0A 0B 0C).
- Input [type]: none
- Output [type]: byte array [Byte Array]
Size of Byte Array

Returns the size (number of bytes) of the byte array.
Example: [0A, 0B, 0C] → 3
- Input [type]: byte array [Byte Array]
- Output [type]: array size [Number]
Get Byte at Index

Gets the byte value at the specified index (0-based).
Example: array [0A, 0B, 0C, 0D], index 2 → 12 (0x0C)
- Input [type]: byte array [Byte Array], index [Number]
- Output [type]: byte value (0-255) [Number]
Set Byte at Index

Sets the byte value at the specified index (0-based).
Returns a new array without modifying the original.
Example: array [0A, 0B, 0C, 0D], index 2, value 14 → [0A, 0B, 0E, 0D]
- Input [type]: byte array [Byte Array], index [Number], byte value (0-255) [Number]
- Output [type]: modified byte array [Byte Array]
Append Byte

Appends a byte to the end of the byte array.
Example: array [0A, 0B, 0C], value 13 → [0A, 0B, 0C, 0D]
- Input [type]: byte array [Byte Array], byte value (0-255) [Number]
- Output [type]: extended byte array [Byte Array]
Remove Last Byte

Removes the last byte from the byte array.
Example: [0A, 0B, 0C, 0D] → [0A, 0B, 0C]
- Input [type]: byte array [Byte Array]
- Output [type]: shortened byte array [Byte Array]
Insert Byte at Index

Inserts a byte at the specified index (0-based).
Example: array [0A, 0B, 0C, 0D], index 2, value 14 → [0A, 0B, 0E, 0C, 0D]
- Input [type]: byte array [Byte Array], index [Number], byte value (0-255) [Number]
- Output [type]: modified byte array [Byte Array]
Remove Bytes from Index

Removes multiple bytes starting at the specified index (0-based).
Example: array [0A, 0B, 0C, 0D], index 1, count 2 → [0A, 0D]
- Input [type]: byte array [Byte Array], start index [Number], byte count [Number]
- Output [type]: shortened byte array [Byte Array]
Reverse Bytes from Index

Reverses the order of bytes within the specified range (0-based).
Example: array [0A, 0B, 0C, 0D], index 1, count 2 → [0A, 0C, 0B, 0D]
- Input [type]: byte array [Byte Array], start index [Number], byte count [Number]
- Output [type]: modified byte array [Byte Array]
Get First/Last Byte

Gets the first or last byte from the byte array.
Example: first byte of [0A, 0B, 0C] → 10 (0x0A)
- Input [type]: byte array [Byte Array]
- Output [type]: byte value (0-255) [Number]
Extract Bytes from Index

Extracts a range of bytes as a new byte array (0-based).
Example: array [0A, 0B, 0C, 0D], index 1, count 2 → [0B, 0C]
- Input [type]: byte array [Byte Array], start index [Number], byte count [Number]
- Output [type]: extracted byte array [Byte Array]
Replace Bytes at Index

Replaces bytes starting at the specified index with another byte array (0-based).
Example: original [0A, 0B, 0C, 0D], index 1, replacement [0E, 0F] → [0A, 0E, 0F, 0D]
- Input [type]: original byte array [Byte Array], start index [Number], replacement byte array [Byte Array]
- Output [type]: modified byte array [Byte Array]
Insert Byte Array at Index

Inserts a byte array at the specified index (0-based).
Example: original [0A, 0B, 0C, 0D], index 2, insert [0E, 0F] → [0A, 0B, 0E, 0F, 0C, 0D]
- Input [type]: original byte array [Byte Array], index [Number], byte array to insert [Byte Array]
- Output [type]: modified byte array [Byte Array]
Concatenate Byte Arrays

Concatenates two byte arrays into one.
Example: first [0A, 0B], second [0C, 0D] → [0A, 0B, 0C, 0D]
- Input [type]: first byte array [Byte Array], second byte array [Byte Array]
- Output [type]: concatenated byte array [Byte Array]