As an exercise I am working on a parallel implementation of the Sieve of Eratosthenes. As part of that I am implementing a sequence of bitmaps, using one bit per number to save memory. Reading bits on
In .Net remoting 开发者_如何学Pythonover http, we return a byte[] back to the client by doing a SerilizationInfo.AddValue(SerializationInfoValueName, ((MemoryStream)writer.BaseStream).GetBuffer(), typ
I need to be able to load a jpeg/png image from disk and show it in flex and sendit to a server as a base64 encoded string. But once the image file is loaded, in my flash.display.LoaderInfo object, th
I\'m downloading some files asynchronously into a large byte array, and I have a callback that fires off periodically whenever some data is added to that array. If I want to give developers the abilit
So I have some code that reads a certain amount of bytes from a file and returns the resulting byte array (this is basically used for chunking up files to send over the network as (eventually) base64-
My requirement is like this. I need to read a file from the Mobile phone using a file connection, create a thumbnail of that image and post to the server. I am able to read the image using the FileCon
I\'m trying to pass some representation of an image back and forth between Silverlight and a WCF service.If possible I\'d like to pass a System.Windows.Media.Imaging.BitmapImage, since that would mean
I\'ve got a winforms app that stores the contents of files in a database. The stored files can be of just about any type (word, excel, PDF, text, image ...) the user can select just about any type of
I found myself passing InputStream/OutputStream objects around my application modules. I\'m wondering if it\'s better to- save the content to disk and pass something like a Resourcebetween the variou
I\'m experimenting with bytes vs bytearray in Python 2.6. I don\'t understand the reason for some differences.