> If a buffer expect the first "element", and count is the number of elements to write, then what is the unit size of that element? is it always "byte"?
From http://www.freepascal.org/docs-html/rtl/classes/thandlestream.write.html: "Write overrides the Write method of TStream. It uses the Handle property to write the Count BYTES from Buffer." -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-buffer-and-string-tp4029601p4029644.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus