Back to index

python3.2  3.2.2
Classes | Functions
ctypes.test.test_byteswap Namespace Reference


class  Test


def bin

Function Documentation

Definition at line 6 of file

00007 def bin(s):
00008     return hexlify(memoryview(s)).decode().upper()
00010 # Each *simple* type that supports different byte orders has an
00011 # __ctype_be__ attribute that specifies the same type in BIG ENDIAN
00012 # byte order, and a __ctype_le__ attribute that is the same type in
00013 # LITTLE ENDIAN byte order.
00014 #
00015 # For Structures and Unions, these types are created on demand.

Here is the call graph for this function:

Here is the caller graph for this function: