accessible value string

This commit is contained in:
REAndroid 2023-03-27 14:17:38 -04:00
parent ffc53645ee
commit fbf6b9ed6b
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
ValueType getValueType();
int getData();
void setData(int data);
String getValueAsString();
ParentChunk getParentChunk();
default MainChunk getMainChunk(){
ParentChunk parentChunk = getParentChunk();

View File

@ -198,6 +198,7 @@ import java.util.Objects;
setBytesLength(offset + size, false);
return readSize;
}
@Override
public String getValueAsString(){
StringItem stringItem = getDataAsPoolString();
if(stringItem!=null){