The outpoint of the cell dependency.
The dependency type.
Static
Optional
byteThe bytes length of the entity, if it is fixed, otherwise undefined
Static
fromCreates a CellDep instance from a CellDepLike object.
A CellDepLike object or an instance of CellDep.
A CellDep instance.
Static
encodeEncode the entity into bytes
The entity to encode
The encoded bytes
Static
decodeStatic
fromCheck if the entity is equal to another entity
The other entity to compare with
True if the entities are equal, false otherwise
Creates an instance of CellDep.