MCPcopy
hub / github.com/kopia/kopia / UInt16Field

Method UInt16Field

internal/contentlog/contentlog_json_writer.go:254–254  ·  view source on GitHub ↗

UInt16Field writes a uint16 field.

(key string, value uint16)

Source from the content-addressed store, hash-verified

252
253// UInt16Field writes a uint16 field.
254func (jw *JSONWriter) UInt16Field(key string, value uint16) { jw.UInt64Field(key, uint64(value)) }
255
256// UInt16Element writes a uint16 element.
257func (jw *JSONWriter) UInt16Element(value uint16) { jw.UInt64Element(uint64(value)) }

Callers 1

TestJSONWriter_UIntTypesFunction · 0.95

Calls 1

UInt64FieldMethod · 0.95

Tested by 1

TestJSONWriter_UIntTypesFunction · 0.76