Class MsDataTypes
java.lang.Object
com.hierynomus.msdtyp.MsDataTypes
Utility class that can read and write data types from the [MS-DTYP].pdf specification document from buffers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longA 64-bit unsigned integer that contains the current system time, represented as the number of 100 nanosecond ticks elapsed since midnight of January 1, 1601 (UTC)static voidputFileTime(FileTime fileTime, Buffer<?> buffer) [MS-DTYP].pdf 2.3.3 FILETIMEstatic void[MS-DTYP].pdf 2.3.4.2 GUID Packet representationstatic FileTimereadFileTime(Buffer<?> buffer) [MS-DTYP].pdf 2.3.3 FILETIMEstatic UUID[MS-DTYP].pdf 2.3.4.2 GUID Packet representation
-
Constructor Details
-
MsDataTypes
private MsDataTypes()
-
-
Method Details
-
putGuid
-
readGuid
[MS-DTYP].pdf 2.3.4.2 GUID Packet representation- Returns:
- The GUID read from the buffer
- Throws:
Buffer.BufferException- If an underflow occurs by reading the GUID (less than 16 bytes available).
-
readFileTime
[MS-DTYP].pdf 2.3.3 FILETIME- Returns:
- a Date converted from the Windows FILETIME stored in the buffer
- Throws:
Buffer.BufferException- If an underflow occurs by reading the FILETIME (less than 8 bytes available).
-
putFileTime
-
nowAsFileTime
public static long nowAsFileTime()A 64-bit unsigned integer that contains the current system time, represented as the number of 100 nanosecond ticks elapsed since midnight of January 1, 1601 (UTC)
-