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

Method writeString

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

Writes a byte string in canonical CBOR-format. @param majorType the major type of the string, should be either 0x40 or 0x60; @param bytes the byte string to write, can be null in which case a byte-string of length 0 is written. @throws IOException in case of I/O problems writi

(int majorType, byte[] bytes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

writeByteStringMethod · 0.95
writeTextStringMethod · 0.95

Calls 2

writeTypeMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected