Instance Property


A value less than or equal to the number of elements in the sequence, calculated nondestructively.


var underestimatedCount: Int { get }


The default implementation returns 0. If you provide your own implementation, make sure to compute the value nondestructively.

Complexity: O(1), except if the sequence also conforms to Collection. In this case, see the documentation of Collection.underestimatedCount.

See Also

Iterating Over the Bytes of a Digest

func makeIterator() -> Array<UInt8>.Iterator

Generates an iterator over the bytes of the digest.

typealias Insecure.MD5Digest.Iterator

A type for the iterator over the digest.

typealias Insecure.MD5Digest.Element

A type for the elements of the digest.

func forEach((IndexingIterator<Array<UInt8>>.Element) -> Void)

Calls the given closure on each element in the sequence in the same order as a for-in loop.

func enumerated() -> EnumeratedSequence<Insecure.MD5Digest>

Returns a sequence of pairs (n, x), where n represents a consecutive integer starting at zero and x represents an element of the sequence.