[Mono-osx] [Mono-dev] [PATCH] Simple implementation of network interface properties for Mac OS X

Alex Shulgin alexander.shulgin at yessoftware.com
Wed Jul 1 07:15:50 EDT 2009


Alan McGovern wrote:
> Hey,
> 
[snip]
>     --
>     Alex
>     PS: is there more appropriate way to increment IntPtr value w/o
>     using ToInt64()?
> 
> 
> You could use a loop and Marshal.ReadByte (IntPtr ptr, int offset);

For this purpose, yes.  But what would you do if amount of data to read 
is, say megabyte or more?

--
Alex



More information about the Mono-osx mailing list