Re: [Gambas-user] "write byte[]" question

2010-12-14 Thread BenoƮt Minisini
> I have a question how data is written to file. > for example: > arrObject_3 contains the capital ABC... a.s.o > > then doing: > Write #hMyLog, (arrObject_3.Extract(0, 16)) As Byte[] > > writes the first 16 bytes to file-stream as byte-array No. By using "As Byte[]", you are serializin

[Gambas-user] "write byte[]" question

2010-12-14 Thread wally
I have a question how data is written to file. for example: arrObject_3 contains the capital ABC... a.s.o then doing: Write #hMyLog, (arrObject_3.Extract(0, 16)) As Byte[] writes the first 16 bytes to file-stream as byte-array then open the file written with editor shows: AABCDEFGHI