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

Method writeInt

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

Writes a signed or unsigned integer value in canonical CBOR format, that is, tries to encode it in a little bytes as possible.. @param value the value to write, values from Long#MIN_VALUE to Long#MAX_VALUE are supported. @throws IOException in case of I/O problems writing the CBOR-e

(long value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

writeUIntMethod · 0.95

Tested by

no test coverage detected