DataHoarder
6ea3e971bb
All checks were successful
continuous-integration/drone/push Build is passing
17 lines
292 B
Go
17 lines
292 B
Go
package encoder
|
|
|
|
import "git.gammaspectra.live/S.O.N.G/Ignite/frame"
|
|
|
|
type Encoder interface {
|
|
Encode(f frame.Frame) error
|
|
EncodeStream(stream *frame.Stream) error
|
|
Flush() error
|
|
Close()
|
|
Version() string
|
|
}
|
|
|
|
type EncoderWithStatistics interface {
|
|
Encoder
|
|
Statistics() frame.Statistics
|
|
}
|