MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

BinaryWrite[...] / OpenWrite[...] / random access in file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120732] BinaryWrite[...] / OpenWrite[...] / random access in file
  • From: "Scot T. Martin" <smartin at seas.harvard.edu>
  • Date: Mon, 8 Aug 2011 04:19:12 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Does anyone know if it's possible to use OpenWrite[...], or related functions like BinaryWrite[...], without erasing the existing file?

That is, I have a huge file that I do not want to load into memory; I just want to write over 16 bytes at a specific position in the file.

It seems to me that this should be possible, but I do not find the options/commands to do so.

Anyone suggestions? Am I missing something obvious here?



  • Prev by Date: MathLink C# .NET 2010
  • Next by Date: Animation
  • Previous by thread: Re: MathLink C# .NET 2010
  • Next by thread: Re: BinaryWrite[...] / OpenWrite[...] / random access in file