ProtoRune.App.Bsky.Richtext.Facet.ByteSlice (proto_rune v0.1.1)

Generated schema for byteSlice

Description: Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.

Summary

Types

@type t() :: %ProtoRune.App.Bsky.Richtext.Facet.ByteSlice{
  byte_end: integer(),
  byte_start: integer()
}