Thank you for your reply! > Your buffer points to nothing, allocate an array[4, byte] and pass its > address to readBuffer. Oh I must allocate read buffer size...I see. > > For example this is how I read the first 6 bytes for a magic string for a > binary format.
Thank you your sample code! I saw ”stream” for the first time. I try to study! Thank you!
