2
0

Add ArrayType

This commit is contained in:
Jack Christensen
2020-05-10 19:34:49 -05:00
parent 6cef4638ad
commit 1b3d694469
3 changed files with 421 additions and 0 deletions
+9
View File
@@ -142,6 +142,15 @@ type TypeValue interface {
TypeName() string
}
// ValueTranscoder is a value that implements the text and binary encoding and decoding interfaces.
type ValueTranscoder interface {
Value
TextEncoder
BinaryEncoder
TextDecoder
BinaryDecoder
}
// ResultFormatPreferrer allows a type to specify its preferred result format instead of it being inferred from
// whether it is also a BinaryDecoder.
type ResultFormatPreferrer interface {