Utility Methods |
The Utility type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ConverTimeSpanToUnsignedInt64 |
Converts a TimeSpan to ulong given a scale.
|
![]() ![]() | ConvertUnsignedInt32ToTimeSpan |
Converts Ticks/Frequency to Timespan
|
![]() ![]() | ConvertUnsignedInt64ToTimeSpan |
Converts Ticks/Frequency to Timespan.
|
![]() ![]() | CreateBox |
Creates an MP4 Box instance.
|
![]() ![]() | CreateBoxInstanceT |
Creates an MP4 Box instance.
|
![]() ![]() | CreateCharFromTypeValue |
Creates char array from a 4-byte type value.
|
![]() ![]() | CreateDescriptor |
Creates an MPEG descriptor.
|
![]() ![]() | CreateStringFromTypeValue |
Creates string from a 32-bit value. This can be used to convert FourCC read as ints to be converted to a string.
|
![]() ![]() | CreateType |
Creates a 4-byte int from 4 char values.
|
![]() ![]() | GetUTF8Length |
Gets the number of bytes in a UTF-8 string.
|
![]() ![]() | IsBitSet(Byte, Int32) |
Checks whether a certain bit is set.
|
![]() ![]() | IsBitSet(UInt32, Int32) |
Checks whether a certain bit is set.
|
![]() ![]() | IsMaskPresent |
Checks if a value contains a certain bit-mask.
|
![]() ![]() | SecondsSince1904 |
Returns the seconds that have passed since 1/1/1904 0:00
|
![]() ![]() | SetBit(Byte, Int32, Boolean) |
Sets a bit in a 8-bit variable.
|
![]() ![]() | SetBit(UInt32, Int32, Boolean) |
Sets a bit in a 32-bit variable.
|
![]() ![]() | TimeSince1904 |
Adds a number of seconds to 1/1/1904 00:00 reference date.
|
![]() ![]() | ToByte |
Converts a char to byte.
|
Name | Description | |
---|---|---|
![]() | Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) |
![]() | Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |