Skip to content

Commit fa78b65

Browse files
committed
add Reset function to the interface
1 parent ba5c7ac commit fa78b65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cayennelpp/encoder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
type Encoder interface {
1313
Grow(n int)
1414
Bytes() []byte
15+
Reset()
1516
WriteTo(w io.Writer) (int64, error)
1617
AddPort(channel uint8, value float32)
1718
AddDigitalInput(channel, value uint8)

0 commit comments

Comments
 (0)