nit: we typically use `byteCount` instead of `length`.  (length can be ambiguous because it's not always clear whether we're measuring bytes or ints or strings)