The maximum number of bytes to read. Returns Task<Int32> A task that represents the asynchronous read operation. The value of the TResult parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of ...
The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. Exceptions NotSupportedException The stream does not support reading. Object...
The maximum number of bytes to read. Returns Task<Int32> A task that represents the asynchronous read operation. The value of theTResultparameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes...
The number of bytes to read. Returns Int32 The number of bytes read intobuffer. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached. ...
The documentation for read() in the Reader trait specifies: Read bytes, up to the length of buf and place them in buf. Returns the number of bytes read. The number of bytes read may be less than the number requested, even 0. Returns Err ...
Actions Security Insights Additional navigation options main BranchesTags Code Folders and files Name Last commit message Last commit date Latest commit Cannot retrieve latest commit at this time. History 1,882 Commits .github asm btf cmd/bpf2go ...
write, likeread, can transfer less data than was requested, according to the following rules for the return value: If the value equalscount, the requested number of bytes has been transferred. If the value is positive, but smaller thancount, only part of the data has been transferred. The...
lastModified = LessBytes.readLength(in); size = LessBytes.readLength(in); hostUUID = LessBytes.readString(in); } 开发者ID:addthis,项目名称:meshy,代码行数:8,代码来源:FileReference.java 示例4: decode ▲点赞 2▼ importcom.addthis.basis.util.LessBytes;//导入方法依赖的package包/类privateItera...
When a read request completes, the RETVAL field shows the number of bytes actually read—a number less than or equal to the number specified aslength. The following are some reasons why the number of bytes read might be less than the number of bytes requested: ...
This function returns up to the number of bytes of data specified by thelenparameter. If fewer than the number of bytes requested is available, the function returns the number currently available. If data is not available for the socketss, andsis in blocking mode, thereadfunction blocks the ca...