Hello,
i am converting a image to a memoryblock and create a binarystream out of that memoryblock.
p=myPic
mb=p.GetData(Picture.FormatJPEG,Picture.QualityMedium)
stream=New BinaryStream(mb)
In the first step i want to send the size of the binarystream as the first 2 bytes via tcp socket and read them back later in a DataAvailable event.
How do i add this to the binaryStream and how do i read it back later?
Thanks Marco