write method

int write(
  1. String string, [
  2. int offset,
  3. int length,
  4. String encoding,
])

Writes string to this buffer at offset according to the character encoding. Returns number of bytes written.

Implementation

external int write(String string, [int offset, int length, String encoding]);