$stringBytes method

int $stringBytes(
  1. String value
)

Implementation

int $stringBytes(String value) {
	final Uint8List bytes = _utf8.encoder.convert(value);
	return 4 + bytes.length;
}