[
https://issues.apache.org/jira/browse/PDFBOX-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891169#comment-17891169
]
Andreas Lehmkühler commented on PDFBOX-5883:
--------------------------------------------
We've refactored that part of the code to simplify things. The internal int
array was replace with a simple int value which combines both. There are two
getInstance methods and the one with two parameters demonstrates how those
values are combined
{code}
public static CharStringCommand getInstance(int b0, int b1)
{
return getInstance((b0 << 4) + b1);
}
{code}
> CharStringCommand API
> ---------------------
>
> Key: PDFBOX-5883
> URL: https://issues.apache.org/jira/browse/PDFBOX-5883
> Project: PDFBox
> Issue Type: Bug
> Reporter: Simon Steiner
> Priority: Major
>
> In pdfbox 2 you could do, in pdfbox 3 there doesnt seem to be a alternative:
> private void x(CharStringCommand command) {
> int[] value = command.getKey().getValue();
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]