BodyReader
object BodyReader
- Companion
- class
class Object
trait Matchable
class Any
Value members
Methods
Construct a BodyReader with exactly one chunk of data
This method takes ownership if the passed
buffer will be visible to the consumer of this BodyReader and vice versa.
ByteBuffer
: any changes to the underlyingbuffer will be visible to the consumer of this BodyReader and vice versa.
- Note
- if the passed buffer is empty, the
EmptyBodyReader
is returned.
Fields
The canonical empty BodyReader
This should be the instance you use if you want to signal that the message body is
in guaranteed to be empty.
in guaranteed to be empty.