<i>cannot efficiently modify a ByteArray</i> status still Open with 4 other changes
by
.
D 2007-02-23T05:11:26
J icomment \n\nFile\sAdded\s-\s217289:\stclBinary.patch\n\nLogged\sIn:\sYES\s\nuser_id=24996\nOriginator:\sYES\n\nAttached\sis\sa\spatch\s(against\s8.4.14)\simplementing\sthe\s"set"\sand\s"dscan"\ssubcommands.\s\sI'm\snot\ssure\sis\sthe\svariable\shandling\sis\scorrect\s(particularly,\sshould\sthe\sreference\scount\sbe\sincremented\swhen\screating\sa\snew\sobject?)\n\nRather\sthan\sa\sseparate\s"append"\ssubcommand,\sthe\spattern\swould\sbe\n\nbinary\sset\sbuffer\s"@[string\slength\s$buffer]\sa*"\s$dataToAppend\n\nNote\stoo,\sthat\s"set"\swill\sshrink\sthe\sexisting\sByteArray\sif\srequested\s(meaning\sit\swill\sshrink\sif\sthe\sformat\sdoes\snot\send\swith\s"@[string\slength\s$buffer]").\s\sFor\san\sin-place/destructive\smodification,\sthis\sis\sprobably\sthe\sright\sthing\sto\sdo.\n\n\n\nFile\sAdded:\stclBinary.patch\n
J login dvrsn
J mimetype text/plain
J username dvrsn
K 1665628fffffffffffffffffffffffffffffffff
U dvrsn
Z 1741fbf659a6f3b5a1efb8f4d86762ec