MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / writeU8

Method writeU8

modules/network/dns/dnsserializer.js:142–147  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

140 this.sections[section].push(record);
141 }
142 writeU8(value) {
143 const state = this.state;
144 if (state.result)
145 state.result[state.position] = value;
146 state.position += 1;
147 }
148 writeU16(value) {
149 const state = this.state;
150 if (state.result) {

Callers 1

writeNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected