Net
/
com.drake.net.body
/
peekBytes
peek
Bytes
fun
RequestBody
.
peekBytes
(byteCount:
Long
= 1024 * 1024):
ByteString
Content copied to clipboard
fun
ResponseBody
.
peekBytes
(byteCount:
Long
= 1024 * 1024):
ByteString
Content copied to clipboard
复制一段指定长度的字符串内容
Parameters
byteCount
复制的字节长度, 允许超过实际长度, 如果-1则返回完整的字符串内容