If the read fails, you should return a DateTime error, which is not good for your program.
write_then_read returns false on failure and true on success.
The library should also handle this.
It looks like this.
Chinese (中文) :
如果读取失败,应该会出现返回DateTime错误的情况,这样子对程序不利。
而 write_then_read 在操作失败以后会返回 false , 成功后会返回true。
库中也应该对这个进行处理 。
像这样子。
If the read fails, you should return a DateTime error, which is not good for your program.
write_then_read returns false on failure and true on success.
The library should also handle this.
It looks like this.
Chinese (中文) :
如果读取失败,应该会出现返回DateTime错误的情况,这样子对程序不利。
而 write_then_read 在操作失败以后会返回 false , 成功后会返回true。
库中也应该对这个进行处理 。
像这样子。