Struct FourCC
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: LLBModdingLib.dll
Syntax
Constructors
FourCC(String)
Creates a new instance of FourCC with a string value.
Declaration
public FourCC(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
String value of FOURCC.
Should be not longer than 4 characters, all of them are printable ASCII characters.
|
FourCC(UInt32)
Creates a new instance of FourCC with an integer value.
Declaration
public FourCC(uint value)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
value |
Integer value of FOURCC.
|
Methods
Equals(Object)
Determines whether this instance is equal to other object.
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Gets hash code of this instance.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Returns string representation of this instance.
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
String value if all bytes are printable ASCII characters. Otherwise, the hexadecimal representation of integer value.
|
Overrides
System.ValueType.ToString()
Operators
Equality(FourCC, FourCC)
Determines whether two instances of FourCC are equal.
Declaration
public static bool operator ==(FourCC value1, FourCC value2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Explicit(FourCC to String)
Gets the string value of FourCC instance.
Declaration
public static explicit operator string (FourCC value)
Parameters
| Type |
Name |
Description |
| FourCC |
value |
|
Returns
| Type |
Description |
| System.String |
|
Explicit(FourCC to UInt32)
Gets the integer value of FourCC instance.
Declaration
public static explicit operator uint (FourCC value)
Parameters
| Type |
Name |
Description |
| FourCC |
value |
|
Returns
| Type |
Description |
| System.UInt32 |
|
Implicit(String to FourCC)
Converts a string value to FourCC.
Declaration
public static implicit operator FourCC(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
Implicit(UInt32 to FourCC)
Converts an integer value to FourCC.
Declaration
public static implicit operator FourCC(uint value)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
value |
|
Returns
Inequality(FourCC, FourCC)
Determines whether two instances of FourCC are not equal.
Declaration
public static bool operator !=(FourCC value1, FourCC value2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|