21 for (
size_t i = 0; i <
length(); i++) {
29 for (
size_t i = 0; i < length(); i++) {
A simple abstraction for a block of bytes.
An interface for writing to a network connection.
virtual void appendBlock(const char *data, size_t len)=0
Send a block of data to the network connection.
Simple specification of the minimum functions needed from output streams.
virtual void write(char ch)
Write a single byte to the stream.
virtual void write(OutputStream &os)
virtual size_t length() const =0
virtual const char * data(size_t index) const =0