# Class cocos.audio.SDL.rwops.SDL_RWops

        ??._CData --+
                    |
    _ctypes.Structure --+
                        |
                       SDL_RWops

Read/write operations structure.

## Methods

Inherited from `_ctypes.Structure`: `__init__`, `__new__` Inherited from `unreachable._CData`: `__ctypes_from_outparam__`, `__hash__`, `__reduce__`, `__setstate__`

## Properties

Inherited from `unreachable._CData`: `_b_base_`, `_b_needsfree_`

## Instance Variables

function | close = `<Field type=CFunctionType, ofs=12, size=4>` close(context: SDL_RWops) -> int
function | read = `<Field type=CFunctionType, ofs=4, size=4>` read(context: SDL_RWops, ptr: c_void_p, size: int, maxnum: int) -> int
function | seek = `<Field type=CFunctionType, ofs=0, size=4>` seek(context: SDL_RWops, offset: int, whence: int) -> int
int | type = `<Field type=c_ulong, ofs=16, size=4>` Undocumented
function | write = `<Field type=CFunctionType, ofs=8, size=4>` write(context: SDL_RWops, ptr: c_void_p, size: int, num: int) -> int

## Class Variables

| _fields_ = ``[``(``'``seek``'``,` <class 'ctypes.CFunctionType'>`)``,` `(``'``read``'``,``...``

## Class Variable Details

### _fields_

Value:

      [('seek', <class 'ctypes.CFunctionType'>),
       ('read', <class 'ctypes.CFunctionType'>),
       ('write', <class 'ctypes.CFunctionType'>),
       ('close', <class 'ctypes.CFunctionType'>),
       ('type', <class 'ctypes.c_ulong'>),
       ('_hidden_mem', <class 'cocos.audio.SDL.rwops._hidden_mem_t'>)]