Skip to content

viper_tools

viper_tools

Viper tools for PyDisplay

This module contains Viper functions for PyDisplay. These functions are consolidated here to allow publishing of the main module without the Viper code.

Functions:

byteswap_viper

byteswap_viper(buf, buf_size)

Swap the bytes in a buffer of 16-bit values in place.

Parameters:

Name Type Description Default
buf ptr8

The buffer to swap the bytes in.

required
buf_size int

The size of the buffer in bytes

required