MCPcopy Create free account
hub / github.com/blues/note / binExtractInt8

Method binExtractInt8

lib/bulk.go:198–204  ·  view source on GitHub ↗
(ctx context.Context, what string)

Source from the content-addressed store, hash-verified

196}
197
198func (tmplContext *BulkTemplateContext) binExtractInt8(ctx context.Context, what string) (value int8) {
199 bin, success := tmplContext.binExtract(ctx, what, 1)
200 if !success {
201 return
202 }
203 return int8(bin[0])
204}
205
206func (tmplContext *BulkTemplateContext) binExtractUint8(ctx context.Context, what string) (value uint8) {
207 bin, success := tmplContext.binExtract(ctx, what, 1)

Callers 1

BulkDecodeNextEntryMethod · 0.95

Calls 1

binExtractMethod · 0.95

Tested by

no test coverage detected