GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python API (6.0.10905)
  • C++ Documentation
  • architecture
  • basedetection
  • basicblock
  • binaryview
  • bncompleter
  • callingconvention
  • collaboration
  • commonil
  • component
  • constantrenderer
  • database
  • databuffer

This view

  • Original page
  • New address

GeezerVison is showing api.binary.ninja — databuffer module — Binary Ninja API Documentation v6.0.10905

databuffer module¶

Class

Description

binaryninja.databuffer.DataBuffer

Function

Description

binaryninja.databuffer.escape_string

binaryninja.databuffer.unescape_string

DataBuffer¶

class DataBuffer[source]¶

Bases: object

__init__(contents: str | bytes | DataBuffer | int = b'', handle=None)[source]¶
Parameters:

contents (str | bytes | DataBuffer | int)

base64_decode() → DataBuffer[source]¶
Return type:

DataBuffer

base64_encode() → str[source]¶
Return type:

str

escape(null_terminates=False, escape_printable=False) → str[source]¶
Return type:

str

unescape() → DataBuffer[source]¶
Return type:

DataBuffer

zlib_compress() → DataBuffer | None[source]¶
Return type:

DataBuffer | None

zlib_decompress() → DataBuffer | None[source]¶
Return type:

DataBuffer | None

escape_string¶

escape_string(text: bytes) → str[source]¶
Parameters:

text (bytes)

Return type:

str

unescape_string¶

unescape_string(text: bytes) → DataBuffer[source]¶
Parameters:

text (bytes)

Return type:

DataBuffer

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.