Skip to content

Commit

Permalink
fix return opcua data type for byte arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ttulka committed Sep 30, 2024
1 parent 46aad60 commit 32efd3d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,9 @@ private Object convertValueToStandard(Object value) {
if (value instanceof DynLocalizedText) {
return new LocalizedText(((DynLocalizedText) value).stringValue());
}
if (value instanceof byte[]) {
return ByteString.valueOf((byte[]) value);
}
return value;
}
}
Expand Down

0 comments on commit 32efd3d

Please sign in to comment.