Back to project page steamchat.
The source code is released under:
Apache License
If you think the Android project steamchat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kevelbreh.steamchat.steam.util; // w w w .j a v a 2s. co m public class BitVector64 { private long value; public void setValue(long value) { this.value = value; } public long getValue() { return value; } public BitVector64() { } public BitVector64(long value) { this.value = value; } public long getMask(short offset, int mask) { return this.value >> offset & mask; } public void setMask(short offset, long mask, long value) { this.value = (this.value & ~(mask << offset)) | ((value & mask) << offset); } }