Results 1 to 3 of 3

Thread: Concatenation of Byte arrays

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2002
    Location
    Florida/Maryland
    Posts
    21

    Wink Concatenation of Byte arrays

    Can anyone tell me how to append (concatenate) a two dimentional array of Bytes to another array of Bytes in vb.NET?

    Thanks in advance

    Terje

  2. #2
    Junior Member
    Join Date
    Jul 2004
    Posts
    29
    Thought about ReDim the destination array and then loop and copy through the source array?

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Look into the Array.Copy() method.

    I think you would have to have a third destination array, copy the first starting at index 0, and then copy the second starting at the last index of the first array + 1.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width