Appearance
Interface: PackagePart ​
One emitted OOXML package part: its full slash-path and already-encoded bytes. Returned by TsPptx.toParts for callers that want the raw parts of the .pptx OPC package without zipping (custom containers, streaming, part-level inspection). The bytes are byte-identical to what write() would compress for the same part; XML parts are UTF-8 (decode with new TextDecoder().decode(part.data)), media/font parts are their raw binary.
Properties ​
data ​
readonlydata:Uint8Array
The part's already-encoded bytes: a fresh view per call, safe to keep or transfer.
path ​
readonlypath:string
Full OOXML package part path, e.g. ppt/slides/slide1.xml.