Re: c4_Bytes.Modify() mangling data

Brian Kelley <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
It looks like you are adding the data at the end of the buffer.  If
you make the following substitution

pos = random.randrange(len(v[0].b)-1)

then everything seems to work.  I'm not sure why this is but jcw might
have a pointer.

Brian
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.