Writes at most vector.length blocks described by vector to this.
vector.length
vector
a Stream
a StreamIOVector
number of vector elements
the number of bytes written or %-1 on fail.