aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/memory.go3
-rw-r--r--core/object.go1
2 files changed, 0 insertions, 4 deletions
diff --git a/core/memory.go b/core/memory.go
index e3063d6..3d8063d 100644
--- a/core/memory.go
+++ b/core/memory.go
@@ -38,9 +38,6 @@ func (o *MemoryObject) Size() int64 { return o.sz }
// afterwards
func (o *MemoryObject) SetSize(s int64) { o.sz = s }
-// Content returns the contents of the object
-func (o *MemoryObject) Content() []byte { return o.cont }
-
// Reader returns a ObjectReader used to read the object's content.
func (o *MemoryObject) Reader() (ObjectReader, error) {
return ioutil.NopCloser(bytes.NewBuffer(o.cont)), nil
diff --git a/core/object.go b/core/object.go
index d73ab0f..36b669e 100644
--- a/core/object.go
+++ b/core/object.go
@@ -34,7 +34,6 @@ type Object interface {
SetType(ObjectType)
Size() int64
SetSize(int64)
- Content() []byte
Reader() (ObjectReader, error)
Writer() (ObjectWriter, error)
}