what is Raw memory?Anybody having idea pls help me
Anybody having idea on this Raw memory pls post some links.
[59 byte] By [
Sneha1] at [2007-11-20 11:18:42]

# 2 Re: what is Raw memory?Anybody having idea pls help me
This isn't a well defined 'formal' term, to my knowledge.
It's likely a colloquial reference to a block of RAM allocated as a buffer.
For example, a bitmap is a 2d matrix of pixels, but referencing it as a void * or, typically, a char * (or unsigned char *) is common, especially for 'c' like algorithms, and that practice may refer to the bits of the bitmap as an access to it's 'raw memory'.
Similar structured data may be referenced with pointers cast to some otherwise non-distinct type for manipulation. In the case of the bitmap, one might think to copy each and every pixel by color within a loop. However, it's also possible to use two void pointers, one to the source bits and the other to destination bits, and then use memcpy. This might also be considered referring to the bits of the bitmap as 'raw memory'.
I doubt it, but there's also the chance someone is referring to the general heap. RAM might be categorized and managed in some way, depending on the OS, the language and the means by which one gains access to memory resources. The display card has RAM on it, and if you were to bypass the Windows drivers, or perhaps using DirectX, you might gain a pointer into a block of memory within that display card for direct manipulation. This might also be referred to as accessing the raw memory of that card, as opposed to a more structured access referred to as a display buffer, off screen buffer, hidden page, etc.
JVene at 2007-11-9 12:20:37 >

# 5 Re: what is Raw memory?Anybody having idea pls help me
Raw data is different from raw memory.
Memory implies RAM.
Data implies some source that provides data. That could be a CD, a device on a USB port, TCP/IP, anything.
But it's not RAM, or memory.
Raw data is just unstructured data. It can be one block of data, which you will store in RAM once you receive it. It can be a series of bytes or blocks.
An HTML file on disk would be raw data, especially if you open the file and read in the text without considering that it is HTML. You're just shuttling the bytes in. Perhaps you plan to deal with parsing it into HTML once you have it in RAM.
Raw data has only a few simple parameters. Only one parameter if it's just a single block, like the HTML file - it's size.
If the data comes streaming to you, like a serial data source (serial port, TCP/IP, etc) - you might not know the size at the moment. What you get a 'buckets' of data, perhaps all the same size, perhaps varying sizes. You'll simply piece them together into a single block when you can.
Unfortunately, raw data is incomprehensible. You have to already know what's inside, or at least how to discover what's inside, in order to do much of anything with it. You can store it, move it, copy it, send it someplace else - but to do anything with it you have to know what's there.
You'd have to recognize it as html in order to feed it into an html parse.
You'd have to recognize it as a Word document, an Excel spreadsheet or a bitmap in order to know what to do with it after you get it.
So, what's sending the data to you? Where's the documentation on it, and what does it tell you to expect?
JVene at 2007-11-9 12:23:44 >
