MCPcopy Create free account
hub / github.com/Peergos/Peergos / writeType

Method writeType

src/peergos/shared/cbor/CborEncoder.java:407–409  ·  view source on GitHub ↗

Encodes and writes the major type indicator with a given payload (length). @param majorType the major type of the value to write, denotes what semantics the written value has; @param value the value to write, values from Long#MIN_VALUE to Long#MAX_VALUE are supported. @throws IOExce

(int majorType, long value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

writeArrayStartMethod · 0.95
writeMapStartMethod · 0.95
writeSimpleValueMethod · 0.95
writeTagMethod · 0.95
writeStringMethod · 0.95

Calls 1

writeUIntMethod · 0.95

Tested by

no test coverage detected