MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Bytes

Method Bytes

IceFireDB-SQLite/pkg/mysql/mysql/mysql_gtid.go:209–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207}
208
209func (s *UUIDSet) Bytes() []byte {
210 var buf bytes.Buffer
211
212 buf.WriteString(s.SID.String())
213
214 for _, i := range s.Intervals {
215 buf.WriteString(":")
216 buf.WriteString(i.String())
217 }
218
219 return buf.Bytes()
220}
221
222func (s *UUIDSet) AddInterval(in IntervalSlice) {
223 s.Intervals = append(s.Intervals, in...)

Callers 15

StringMethod · 0.95
DumpMethod · 0.45
EncodeMethod · 0.45
ContainMethod · 0.45
encodeMethod · 0.45
EncodeMethod · 0.45
StringMethod · 0.45
EncodeMethod · 0.45
ReadPacketReuseMemMethod · 0.45
WriteObjectsFunction · 0.45
RecursivelyWriteObjectsFunction · 0.45
NamespaceFunction · 0.45

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected