@Override
		public void close() {
			trace.setEventsEnabled(true);
		}
Create a byte buffer, filled with a UTF-8 encoded string

@param str the string to encode
@return the buffer, positioned at 0
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java