(ctx context.Context, what string)
| 204 | } |
| 205 | |
| 206 | func (tmplContext *BulkTemplateContext) binExtractUint8(ctx context.Context, what string) (value uint8) { |
| 207 | bin, success := tmplContext.binExtract(ctx, what, 1) |
| 208 | if !success { |
| 209 | return |
| 210 | } |
| 211 | return uint8(bin[0]) |
| 212 | } |
| 213 | |
| 214 | func (tmplContext *BulkTemplateContext) binExtractInt16(ctx context.Context, what string) (value int16) { |
| 215 | bin, success := tmplContext.binExtract(ctx, what, 2) |
no test coverage detected