CID constructor

CID(
  1. Uint8List bytes
)

Returns the new instance of CID.

This is an unchecked constructor: bytes is stored as-is and is not validated. Prefer CID.fromList or CID.parse for validated input.

Implementation

CID(final Uint8List bytes) : _normalizedBytes = _normalize(bytes);