ServerJS/Binary/C/Essay

From MozillaWiki
< ServerJS‎ | Binary‎ | C
Jump to: navigation, search

This page contains the essay like portions of Binary/C which were essay like and were moved out of the spec.

ByteArray?

From the discussions in the ServerJS mailing list I do not recall anyone saying "[I] want to mutate a [sequence] with the Array api". I only recall the statements "[I] want a way to mutate a [sequence]" and "mutable, like an Array". The decision to use the name "ByteArray" had nothing to do with wanting an Array type sequence. It had to do with wanting to mutate a sequence, and Arrays being the other type of list.

Looking into prior art the Array api does not fit. There is a more relevant term used in computing, the buffer.