What is the fastest way to modify a byte array?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gilberto Gil
    New Member
    • Jun 2011
    • 14

    What is the fastest way to modify a byte array?

    I need to modify a byte array that I've read from my memory.... a need to modify it an then rewrite to my flash all it again..but i need to do it faster.. then my question is how to modify that array as faster as i can, note that the other work reading memory etc is already done?.......... .. thanks in advance
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    It depends on what you're trying to do to the byte array.

    Comment

    • Gilberto Gil
      New Member
      • Jun 2011
      • 14

      #3
      I am just trying to interchange some bytes of my buffer for other

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        So you mean bytearrayvar[i] = otherbytearrayv ar[i]? That's as fast as it gets.

        Comment

        • bvrwoo
          New Member
          • Aug 2011
          • 16

          #5
          What do you mean by interchanged? Are you looking to copy it or clone the copy? What?

          Comment

          Working...