write method
Writes one frame. The bytes are copied: the caller may reuse its buffer as soon as this returns.
Implementation
@override
void write(Uint8List bytes) {
if (!closed) {
frames.add(Uint8List.fromList(bytes));
vt.feed(bytes);
}
}