Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    File data insertion and deletion

    Comments & Feedback
    2
    2
    161
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Aceba1
      Aceba1 last edited by

      Right now, only one file can be modified. I believe this will be changed in the near future but I would like to bring this other issue up...
      It is possible to seek to the middle of a file and replace content of, but there is no method available to insert text at a position, nor is there a way to delete the text that has already been added to the file.

      (For inserting, it is possible to add a value to a read from an index to the end, then overwrite from that index onwards. However text cannot be removed from the end of the file, only changed...)

      Any notes or news of it? Have missed something important regarding this?

      1 Reply Last reply Reply Quote 0
      • N
        Nisse5 F last edited by

        pianofire posted an approach in this thread:
        https://fuzearena.com/forum/topic/70/hints-and-tips/19

        The technique used in that example is to use the 4 first bytes of the text stream as the length of the "true" file. That way, the file can be "truncated".

        1 Reply Last reply Reply Quote 0
        • First post
          Last post