We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3dc62 commit a44577eCopy full SHA for a44577e
src/main/java/com/reandroid/arsc/item/AlignItem.java
@@ -20,7 +20,6 @@
20
import com.reandroid.utils.HexUtil;
21
22
import java.io.IOException;
23
-import java.util.Arrays;
24
25
public class AlignItem extends BlockItem {
26
@@ -92,10 +91,17 @@ public void setAlignment(int alignment) {
92
91
setBytesLength(0, false);
93
}
94
+
95
+ public byte getFill() {
96
+ return fill;
97
+ }
98
public void setFill(byte fill) {
99
this.fill = fill;
100
byte[] bytes = getBytesInternal();
- Arrays.fill(bytes, fill);
101
+ int length = bytes.length;
102
+ for (int i = 0; i < length; i++) {
103
+ bytes[i] = fill;
104
105
106
107
@Override
0 commit comments