size method

int size(
  1. K key
)

Implementation

int size(K key) {
  int size = hasher?.digestSize ?? 0;
  if (concat) {
    size += codec.sizeHint(key);
  }
  return size;
}