示例#1
0
func (src *RWops) ReadBE16() uint16 {
	if src == nil {
		return 0
	}
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return (uint16)(C.SDL_ReadBE16(_src))
}
示例#2
0
文件: rwops.go 项目: JalfResi/go-sdl2
func (src *RWops) ReadBE16() uint16 {
	if src == nil {
		return 0
	}
	return uint16(C.SDL_ReadBE16(src.cptr()))
}