//okhttp/okhttp3/ResponseBody/byteString
byteString¶
[common]\ expect fun byteString(): ByteString
Returns the response as a ByteString.
This method loads entire response body into memory. If the response body is very large this may trigger an OutOfMemoryError. Prefer to stream the response body if this is a possibility for your response.
[jvm, nonJvm]\ [jvm, nonJvm]\ actual fun byteString(): ByteString