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

Method writeSimpleType

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

Encodes and writes the major type and value as a simple type. @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 [0..31] are supported. @throws IOException in case of I/O problems writing the CBOR-encoded

(int majorType, int value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

writeArrayStartMethod · 0.95
writeBooleanMethod · 0.95
writeBreakMethod · 0.95
writeByteStringStartMethod · 0.95
writeMapStartMethod · 0.95
writeNullMethod · 0.95
writeTextStringStartMethod · 0.95
writeUndefinedMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected