Adding modding folder with a hacked build.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package serial
|
||||
|
||||
// Coder represents an Encoder/Decoder for binary data.
|
||||
type Coder interface {
|
||||
// FirstError returns the first error this coder encountered.
|
||||
FirstError() error
|
||||
|
||||
// Code serializes the given value.
|
||||
// Any error state will be provided via FirstError(). Code will do nothing
|
||||
// if the coder is already in error state.
|
||||
Code(value interface{})
|
||||
}
|
||||
Reference in New Issue
Block a user