CosNull.java
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.internal.io.stream.OutputByteStream
*/
package com.adobe.internal.pdftoolkit.core.cos;
import com.adobe.internal.io.stream.OutputByteStream;
import com.adobe.internal.pdftoolkit.core.cos.CosDocument;
import com.adobe.internal.pdftoolkit.core.cos.CosObject;
import com.adobe.internal.pdftoolkit.core.cos.CosObjectInfo;
import com.adobe.internal.pdftoolkit.core.cos.CosScalar;
import java.io.IOException;
public class CosNull
extends CosScalar {
private static final byte[] NULL = new byte[]{110, 117, 108, 108};
CosNull(CosDocument doc) {
super(doc, null);
}
public int getType() {
return 0;
}
void writeOut(OutputByteStream outStream, boolean inString, boolean inDebugMode) throws IOException {
outStream.write(NULL);
}
public Object getValue() {
return null;
}
public boolean equals(CosObject value) {
return value instanceof CosNull && value.getDocument() == this.getDocument();
}
}