SerializationWriter.WriteOptimized Method (BitVector32)
Writes a BitVector32 into the stream using the fewest number of bytes possible.
Stored Size: 1 to 4 bytes. (.Net is 4 bytes)
1 to 7 bits takes 1 byte
8 to 14 bits takes 2 bytes
15 to 21 bits takes 3 bytes
22 to 28 bits takes 4 bytes
-------------------------------------------------------------------
29 to 32 bits takes 5 bytes - use Write(BitVector32) method instead
Try to order the BitVector32 masks so that the highest bits are least-likely
to be set.
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 ) |