Home | History | Annotate | Download | only in suffixarray

Lines Matching defs:Write

39 // writeInt writes an int x to w using buf to buffer the write.
42 _, err := w.Write(buf[0:binary.MaxVarintLen64])
54 // It uses buf to buffer the write.
65 // write buffer
66 _, err = w.Write(buf[0:p])
136 // Write writes the index x to w.
137 func (x *Index) Write(w io.Writer) error {
141 // write length
146 // write data
147 if _, err := w.Write(x.data); err != nil {
151 // write index