go.uber.org/zap/buffer.Buffer.Bytes (method)

7 uses

	go.uber.org/zap/buffer (current package)
		buffer.go#L93: func (b *Buffer) Bytes() []byte {

	go.uber.org/zap/zapcore
		console_encoder.go#L149: 	line.Write(context.buf.Bytes())
		core.go#L99: 	_, err = c.out.Write(buf.Bytes())
		json_encoder.go#L176: 	return enc.reflectBuf.Bytes(), nil
		json_encoder.go#L348: 	clone.buf.Write(enc.buf.Bytes())
		json_encoder.go#L418: 		final.buf.Write(enc.buf.Bytes())
		json_encoder.go#L460: 	switch enc.buf.Bytes()[last] {