Commit 3fb6d62e authored by Robert Griesemer's avatar Robert Griesemer

suffixarray: rename Data() -> Bytes()

R=rsc
CC=golang-dev
https://golang.org/cl/3540042
parent d7340d9c
......@@ -49,10 +49,10 @@ func New(data []byte) *Index {
}
// Data returns the data over which the index was created.
// Bytes returns the data over which the index was created.
// It must not be modified.
//
func (x *Index) Data() []byte {
func (x *Index) Bytes() []byte {
return x.data
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment