SDL.RWops – sdl2 Reference Manual
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
2022 vala-language.org