This function will return the number of last error, 0 = no error.
Other error codes:See MacOS and Windows error codes in MacOS and Windows documentation.
LongBinaryStream Class