mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-04 18:49:00 -06:00
15 lines
182 B
Go
15 lines
182 B
Go
package types
|
|
|
|
import "io"
|
|
|
|
type Blob interface {
|
|
Value
|
|
// TODO: Rename just Len()
|
|
ByteLen() uint64
|
|
Read() io.Reader
|
|
}
|
|
|
|
func NewBlob(data []byte) Blob {
|
|
return flatBlob{data}
|
|
}
|