BytesSubstringIndex

public protocol BytesSubstringIndex

Range-only index for BytesView.substring. Conformed by every range type so a single generic substring can dispatch over all of them. Single-element indexes (Int64) deliberately don't conform — substring is range-flavored only.

Methods

func readBytesSubstring(from: BytesView) -> String

Defined in lang/std/text/views.ks