MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / WriteU8

Method WriteU8

utils/binary/builder.go:155–160  ·  view source on GitHub ↗
(v uint8)

Source from the content-addressed store, hash-verified

153}
154
155func (b *Builder) WriteU8(v uint8) *Builder {
156 b.p(func(ub *pbuf.UserBuffer[teacfg]) {
157 ub.WriteByte(v)
158 })
159 return b
160}
161
162func writeint[T ~uint16 | ~uint32 | ~uint64](b *Builder, v T) *Builder {
163 buf := make([]byte, 8)

Callers 14

MarshalMethod · 0.95
WriteBoolMethod · 0.95
WritePacketBytesMethod · 0.95
WriteI8Method · 0.95
buildCode2dPacketMethod · 0.80
FetchQRCodeMethod · 0.80
GetQRCodeResultMethod · 0.80
PackPacketMethod · 0.80
T107Function · 0.80
T116Function · 0.80
T128Function · 0.80

Calls 1

pMethod · 0.95

Tested by

no test coverage detected