MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / JM_EscapeStrFromBuffer

Function JM_EscapeStrFromBuffer

src/__init__.py:19277–19282  ·  view source on GitHub ↗
(buff)

Source from the content-addressed store, hash-verified

19275
19276
19277def JM_EscapeStrFromBuffer(buff):
19278 if not buff.m_internal:
19279 return ''
19280 s = mupdf.fz_buffer_extract_copy(buff)
19281 val = PyUnicode_DecodeRawUnicodeEscape(s, errors='replace')
19282 return val
19283
19284
19285def JM_ensure_identity(pdf):

Callers 9

xref_objectMethod · 0.85
get_svg_imageMethod · 0.85
_extractTextMethod · 0.85
extractBLOCKSMethod · 0.85
write_textMethod · 0.85
JM_append_wordFunction · 0.85
JM_get_scriptFunction · 0.85
JM_make_spanlistFunction · 0.85
JM_set_object_valueFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…