writeString method

int writeString(
  1. String s
)

Writes a raw string to the output buffer and returns its length.

Implementation

int writeString(String s) {
  _buf.write(s);
  return s.length;
}