SerializationWriter.WriteOptimized Method (TimeSpan)
Writes a TimeSpan value into the stream using the fewest number of bytes possible.
Stored Size: 2 bytes to 8 bytes (.Net is 8 bytes)
Notes:
hh:mm (time) are always stored together and take 2 bytes.
If seconds are present then 3 bytes unless (time) is not present in which case 2 bytes
since the seconds are stored in the minutes position.
If milliseconds are present then 4 bytes.
In addition, if days are present they will add 1 to 4 bytes to the above.
Namespace: SobekCM.Core.MemoryMgmt Assembly: SobekCM_Core (in SobekCM_Core.dll) Version: 4.10.0.0 (4.10.0.0) Syntax
Parameters
See AlsoVersion 4.10.0 ( last generated Monday, March 7, 2016 ) |