Your Ad Here Your Ad Here
Results 1 to 6 of 6

Thread: Wat Is Buffer And Wat Is The Usage Of It?

  1. #1
    Member
    Join Date
    Nov 2003
    Location
    Dark Zone....
    Posts
    14
    plz help.....!!!!!!

  2. Software & Hardware   -   #2
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    Originally posted by www.hyperdictionary.com
    An area of memory used for storing messages. Typically, a buffer will have other attributes such as an input pointer (where new data will be written into the buffer), and output pointer (where the next item will be read from) and/or a count of the space used or free. Buffers are used to decouple processes so that the reader and writer may operate at different speeds or on different sized blocks of data.

    There are many different algorithms for using buffers, e.g. first-in first-out (FIFO or shelf), last-in first-out (LIFO or stack), double buffering (allowing one buffer to be read while the other is being written), cyclic buffer (reading or writing past the end wraps around to the beginning).

  3. Software & Hardware   -   #3
    Member
    Join Date
    Nov 2003
    Location
    Dark Zone....
    Posts
    14
    thanx man...
    one more question.....
    does it hav any relation with error correction or error prevention??????

  4. Software & Hardware   -   #4
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    buffer overflows.
    a buffer is finite so if you try to put too much data into it there will be an overflow. generally the data will wrap around a start from zero again. same kinda principle as a clock when you reach higher then 12:59 it resets back to 0.

    erm not sure about error correction and buffers. im sititng here going through hamming code which is related but it makes no mention of buffers.

  5. Software & Hardware   -   #5
    Member
    Join Date
    Nov 2003
    Location
    Dark Zone....
    Posts
    14
    u r awesome man....
    thanx for the info...
    really appreciate it...

  6. Software & Hardware   -   #6
    shn's Avatar 3μ|\|(7
    Join Date
    May 2003
    Posts
    3,585
    If your interested in buffer overflows or how to prevent them from being exploited. Do a search on "smashing the stack" on google.

Bookmarks

Posting Permissions

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