Skip to content

Commit 1fb2b47

Browse files
Merge pull request #11 from calvernaz/master
add Reset function to the interface
2 parents ba5c7ac + fa78b65 commit 1fb2b47

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)