// Write transmits press-and-release key sequences for each Keycode translated
// from the given UTF-8 byte string. Write implements the io.Writer interface
// and conforms to all documented conventions for arguments and return values.
Write transmits press-and-release key sequences for each Keycode translated
from the given UTF-8 byte string. Write implements the io.Writer interface
and conforms to all documented conventions for arguments and return values.
// Write transmits press - and - release key sequences for each Keycode translated // from the given UTF - 8 byte string . Write implements the io . Writer interface // and conforms to all documented conventions for arguments and return values .
func (kb *Keyboard) Write(b []byte) (n int, err error) {
	for _, c := range b {
		if err = kb.WriteByte(c); nil != err {
			break
		}
		n += 1
	}
	return
}
func ( kb * Keyboard ) Write ( b [ ] byte ) ( n int , err error ) { for _ , c := range b { if err = kb . WriteByte ( c ) ; nil != err { break } n += 1 } return }
Write transmits press-and-release key sequences for each Keycode translated
from the given UTF-8 byte string.
Write transmits press - and - release key sequences for each Keycode translated from the given UTF - 8 byte string .