1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Use cases for binary buffers

Discussion in 'Support' started by nikbackm, Jun 10, 2011.

  1. nikbackm

    Joined:
    May 30, 2008
    Messages:
    194
    Likes Received:
    1
    What are the intended use cases for the relatively new binary buffer functions?

    An obvious would be modifications of existing files, just load the file in a buffer, do the modifications and write it back out.

    This, I guess, should be enough to make them worthwhile, but are there perhaps also other uses that the rest of TCC is not equipped to handle? Or not handle as well at least.

    It would be interesting to hear what other purposes Take Command users have found for them.
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    From: nikbackm
    | What are the intended use cases for the relatively new binary buffer
    | functions?
    |
    | An obvious would be modifications of existing files, just load the
    | file in a buffer, do the modifications and write it back out.
    |
    | This, I guess, should be enough to make them worthwhile, but are
    | there perhaps also other uses that the rest of TCC is not equipped to
    | handle? Or not handle as well at least.

    Any operation where characters significant to the TCC parser may be present in data. For example, you can find printable strings in a binary file, such as the date and time a jpeg image was created. I use that information to catalog my digital pictures.
    --
    Steve
     

Share This Page