github.com/jackc/pgtype.CompositeBinaryBuilder.buf (field)
12 uses
github.com/jackc/pgtype (current package)
composite_type.go#L528: buf []byte
composite_type.go#L537: return &CompositeBinaryBuilder{ci: ci, buf: buf, startIdx: startIdx}
composite_type.go#L571: b.buf = pgio.AppendUint32(b.buf, oid)
composite_type.go#L572: lengthPos := len(b.buf)
composite_type.go#L573: b.buf = pgio.AppendInt32(b.buf, -1)
composite_type.go#L574: fieldBuf, err := field.EncodeBinary(b.ci, b.buf)
composite_type.go#L580: binary.BigEndian.PutUint32(fieldBuf[lengthPos:], uint32(len(fieldBuf)-len(b.buf)))
composite_type.go#L581: b.buf = fieldBuf
composite_type.go#L592: binary.BigEndian.PutUint32(b.buf[b.startIdx:], b.fieldCount)
composite_type.go#L593: return b.buf, nil
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |