func (d *Display) WriteSnarf(data []byte) error {
	d.mu.Lock()
	defer d.mu.Unlock()
	err := d.conn.WriteSnarf(data)
	if err != nil {
		return err
	}
	return nil
}
WriteSnarf writes the data to the snarf buffer.
package draw
func (d *Display) ReadSnarf(buf []byte) (int, int, error) {
	d.mu.Lock()
	defer d.mu.Unlock()
	n, actual, err := d.conn.ReadSnarf(buf)
	if err != nil {
		return 0, 0, err
	}
	return n, actual, nil
}