MCPcopy Create free account
hub / github.com/apache/fory / WriteTypeId

Method WriteTypeId

go/fory/writer.go:178–180  ·  view source on GitHub ↗
(id TypeId)

Source from the content-addressed store, hash-verified

176}
177
178func (c *WriteContext) WriteTypeId(id TypeId) {
179 c.buffer.WriteUint8(uint8(id))
180}
181
182// writeFast writes a value using fast path based on DispatchId
183func (c *WriteContext) writeFast(ptr unsafe.Pointer, ct DispatchId) {

Callers 15

WriteBoolSliceMethod · 0.95
WriteInt8SliceMethod · 0.95
WriteInt16SliceMethod · 0.95
WriteInt32SliceMethod · 0.95
WriteInt64SliceMethod · 0.95
WriteUint16SliceMethod · 0.95
WriteUint32SliceMethod · 0.95
WriteUint64SliceMethod · 0.95
WriteIntSliceMethod · 0.95
WriteUintSliceMethod · 0.95
WriteFloat32SliceMethod · 0.95
WriteFloat64SliceMethod · 0.95

Calls 2

WriteUint8Method · 0.80
uint8Function · 0.50

Tested by

no test coverage detected