Packages
sdl2
SDL
RWops
size
RWops.from_file
RWops.from_mem
close
read
read_be16
read_be32
read_be64
read_le16
read_le32
read_le64
read_u8
seek
tell
write
write_be16
write_be32
write_be64
write_le16
write_le32
write_le64
write_u8
type
RWops
Object Hierarchy:
SDL.RWops
SDL.RWops
SDL.RWops
Description:
[
CCode
( cname =
"SDL_RWops"
, free_function =
"SDL_FreeRW"
) ]
[
Compact
]
public
class
RWops
Namespace:
SDL
Package:
sdl2
Content:
Properties:
public
int64
size
{
get
; }
Creation methods:
public
RWops.from_file
(
string
file,
string
mode)
public
RWops.from_mem
(
void
* mem,
int
size)
Methods:
public
int64
close
()
public
size_t
read
(
void
* ptr,
size_t
size,
size_t
maxnum)
public
uint16
read_be16
()
public
uint32
read_be32
()
public
uint64
read_be64
()
public
uint16
read_le16
()
public
uint32
read_le32
()
public
uint64
read_le64
()
public
uint8
read_u8
()
public
int64
seek
(
int64
offset,
RWFlags
flag)
public
int64
tell
()
public
size_t
write
(
void
* ptr,
size_t
size,
size_t
num)
public
size_t
write_be16
(
uint16
val)
public
size_t
write_be32
(
uint32
val)
public
size_t
write_be64
(
uint64
val)
public
size_t
write_le16
(
uint16
val)
public
size_t
write_le32
(
uint32
val)
public
size_t
write_le64
(
uint64
val)
public
size_t
write_u8
(
uint8
val)
Fields:
public
uint32
type