abstract fun readFromClient(message: Bytes!): Bytes!
(source)
Adds message bytes to the reader stream, returning the bytes that could be decrypted.
message
- Bytes!: the message to decrypt
StreamException
- if the message cannot be decrypted
Return
Bytes!: the message, decrypted and ready for consumption, or null if the bytes provided were an incomplete message.