Re: integer array to a byte array

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Also, what about Convert.ToByte?

"Nils Wolf" <nisse@xxxxxx> wrote in message
news:%23vjx%23i5yFHA.3320@xxxxxxxxxxxxxxxxxxxxxxx
> thx,
>
> it works..
>
>
> "Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> schrieb im Newsbeitrag
> news:MPG.1db11277a8f406e998c8a1@xxxxxxxxxxxxxxxxxxxxxxx
>> Nils Wolf <nisse@xxxxxx> wrote:
>>> how do i convert an integer array to a byte array??
>>
>> The easiest way is probably to call Buffer.BlockCopy.
>>
>> --
>> Jon Skeet - <skeet@xxxxxxxxx>
>> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
>> If replying to the group, please do not mail me too
>


.



Relevant Pages

  • Re: Where can i get VBSQL.VBX?
    ... I need to 'translate' the calls in vbsql into something ... Thx for replying. ... Prev by Date: ...
    (comp.lang.basic.visual.database)
  • Re: Integer array as BLOB
    ... I think you could just typecast the integer array as a byte array when you ... call the BLOB read and write function. ... Prev by Date: ...
    (borland.public.delphi.database.ado)
  • Finding a maxima with binary search?
    ... Suppose I have an integer array ... maximum, and then decrease. ... Can someone give me some pseudocode to help? ... Prev by Date: ...
    (comp.programming)
  • puzzle
    ... ok here is a puzzle. ... there is an integer array whose length is odd, ... Prev by Date: ...
    (comp.lang.c)
  • puzzle
    ... ok here is a puzzle. ... there is an integer array whose length is odd, ... Prev by Date: ...
    (comp.programming)