parse

fun parse(bytes: ByteArray, subdivisionScheme: SubdivisionScheme, subtreeLevels: Int): Subtree

Parse one .subtree payload. Throws IllegalArgumentException when the header magic / version don't match the spec — easier to surface that early than to silently produce empty bitstreams the traversal code can't distinguish from "everything absent".