2
0

Decode(Text|Binary) now accepts []byte instead of io.Reader

This commit is contained in:
Jack Christensen
2017-03-10 16:08:47 -06:00
parent ac9228a1a3
commit 8162634259
38 changed files with 506 additions and 855 deletions
+2 -2
View File
@@ -74,11 +74,11 @@ type Value interface {
}
type BinaryDecoder interface {
DecodeBinary(r io.Reader) error
DecodeBinary(src []byte) error
}
type TextDecoder interface {
DecodeText(r io.Reader) error
DecodeText(src []byte) error
}
type BinaryEncoder interface {