StringRef writes a reference to the given index, which must be a previously encoded string value.
(idx Index)
| 326 | // StringRef writes a reference to the given index, which must be a |
| 327 | // previously encoded string value. |
| 328 | func (w *Encoder) StringRef(idx Index) { |
| 329 | w.Sync(SyncString) |
| 330 | w.Reloc(RelocString, idx) |
| 331 | } |
| 332 | |
| 333 | // Strings encodes and writes a variable-length slice of strings into |
| 334 | // the element bitstream. |