public byte get(int index) {
        if (index < bytes.length) {
            return bytes[index];
        }
        return (byte)0;
    }
Returns the byte at the given index
@param index index into the array
@return The byte value at the given index. A 0 will
be returned for any index not initialized to
another value.
@throws IndexOutOfBoundsException if the index is negative
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ByteArray.java