setProtected

fun setProtected(flags: Short, value: Boolean = true): Short(source)

Set isProtected in the given flags (Sets the third bit of the flags)

Specification

Return

The flags with the isProtected flag set

Since

0.1.0

Parameters

flags

The flags to set the isProtected in