1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

14 lines
206 B
Go
Raw Normal View History

2014-04-27 19:56:18 -07:00
package firmata
type sp struct{}
2014-04-27 19:56:18 -07:00
func (s sp) Write(b []byte) (int, error) {
return len(b), nil
}
2014-04-27 19:56:18 -07:00
func (s sp) Read(b []byte) (int, error) {
return len(b), nil
}
2014-04-27 19:56:18 -07:00
func (s sp) Close() error {
return nil
}