func (r *rocksDBBatch) Repr() []byte { if r.flushes == 0 { // We've never flushed to C++. Return the mutations only. return r.builder.getRepr() } r.flushMutations() return cSliceToGoBytes(C.DBBatchRepr(r.batch)) }
func (r *rocksDBBatch) Repr() []byte { return cSliceToGoBytes(C.DBBatchRepr(r.batch)) }
func (r *rocksDBBatch) Repr() []byte { r.flushMutations() return cSliceToGoBytes(C.DBBatchRepr(r.batch)) }