writeString method
Writes string s
to the buffer. s
must be ASCII only.
Implementation
void writeString(String s) {
for (int c in s.codeUnits) {
_bytes.addByte(c);
}
}
Writes string s
to the buffer. s
must be ASCII only.
void writeString(String s) {
for (int c in s.codeUnits) {
_bytes.addByte(c);
}
}