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

Method readMajorTypeExact

src/peergos/shared/cbor/CborDecoder.java:377–382  ·  view source on GitHub ↗

Reads the next major type from the underlying input stream, and verifies whether it matches the given expectations. @param majorType the expected major type, cannot be null (unchecked); @param subtype the expected subtype. @throws IOException in case of I/O problems reading the CBOR-en

(int majorType, int subtype)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

readBreakMethod · 0.95
readDoubleMethod · 0.95
readFloatMethod · 0.95
readNullMethod · 0.95
readSimpleValueMethod · 0.95
readUndefinedMethod · 0.95

Calls 2

readMajorTypeMethod · 0.95
failMethod · 0.95

Tested by

no test coverage detected