Long.Compress(Int64, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compresses the bits selected by the mask into contiguous low-order positions.
[Android.Runtime.Register("compress", "(JJ)J", "", ApiSince=36)]
public static long Compress(long i, long mask);
[<Android.Runtime.Register("compress", "(JJ)J", "", ApiSince=36)>]
static member Compress : int64 * int64 -> int64
Parameters
- i
- Int64
The value whose mask-selected bits are compressed into contiguous low-order positions.
- mask
- Int64
The mask that selects bit positions.
Returns
The value formed by compressing the bits selected by the mask.
- Attributes
Remarks
Compresses the bits selected by the mask into contiguous low-order positions.