class

XMPP::Transport::ReadBuffer

Inherits Reference / Object

Ordered byte buffer that inbound messages are appended to and that #read drains from. A single read request may be served from several messages and a message may span several reads.

Constructors

Instance methods

drain(slice : Bytes) : Int32
Source
empty?
Source
push(data : String)
Source
push(data : Bytes)
Source