MCPcopy Create free account
hub / github.com/dolthub/doltgresql / WriteBytes

Method WriteBytes

utils/wirerw.go:207–210  ·  view source on GitHub ↗

WriteBytes writes the bytes given.

(val []byte)

Source from the content-addressed store, hash-verified

205
206// WriteBytes writes the bytes given.
207func (rw *WireRW) WriteBytes(val []byte) *WireRW {
208 _, _ = rw.buf.Write(val)
209 return rw
210}
211
212// Reserve ensures that there are at least N bytes in the buffer, which can prevent reallocations if the space needed is
213// known upfront.

Callers 14

AddTriggerMethod · 0.80
AddFunctionMethod · 0.80
AddConflictMethod · 0.80
AddLoadedExtensionMethod · 0.80
writeCacheMethod · 0.80
AddProcedureMethod · 0.80
AddCastMethod · 0.80
writeCacheMethod · 0.80
bytea.goFile · 0.80
record.goFile · 0.80
numeric.goFile · 0.80
jsonb.goFile · 0.80

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected