Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- readBit(MemorySegment, int)
- readBits(MemorySegment, int, int)
- writeBit(MemorySegment, int, boolean)
- writeBits(MemorySegment, int, int, int)
- readBit(byte, int)
- readBit(short, int)
- readBit(int, int)
- readBits(byte, int, int)
- readBits(short, int, int)
- readBits(int, int, int)
- writeBit(byte, int, boolean)
- writeBit(short, int, boolean)
- writeBit(int, int, boolean)
- writeBits(byte, int, int, byte)
- writeBits(short, int, int, short)
- writeBits(int, int, int, int)
Class BitfieldUtil
java.lang.Object
club.doki7.ffm.bits.BitfieldUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
readBit
(byte value, int bit) static boolean
readBit
(int value, int bit) static boolean
readBit
(short value, int bit) static boolean
readBit
(@NotNull MemorySegment segment, int bit) static byte
readBits
(byte value, int startBit, int endBit) static int
readBits
(int value, int startBit, int endBit) static short
readBits
(short value, int startBit, int endBit) static int
readBits
(@NotNull MemorySegment segment, int startBit, int endBit) static byte
writeBit
(byte value, int bit, boolean bitValue) static int
writeBit
(int value, int bit, boolean bitValue) static short
writeBit
(short value, int bit, boolean bitValue) static void
writeBit
(@NotNull MemorySegment segment, int bit, boolean bitValue) static byte
writeBits
(byte value, int startBit, int endBit, byte bits) static int
writeBits
(int value, int startBit, int endBit, int bits) static short
writeBits
(short value, int startBit, int endBit, short bits) static void
writeBits
(@NotNull MemorySegment segment, int startBit, int endBit, int bits)
-
Constructor Details
-
Method Details
-
readBit
-
readBits
@Unsigned public static int readBits(@NotNull @NotNull MemorySegment segment, @Unsigned int startBit, @Unsigned int endBit) -
writeBit
public static void writeBit(@NotNull @NotNull MemorySegment segment, @Unsigned int bit, boolean bitValue) -
writeBits
public static void writeBits(@NotNull @NotNull MemorySegment segment, @Unsigned int startBit, @Unsigned int endBit, @Unsigned int bits) -
readBit
-
readBit
-
readBit
-
readBits
-
readBits
-
readBits
-
writeBit
-
writeBit
-
writeBit
-
writeBits
-
writeBits
-
writeBits
-