[ 
https://issues.apache.org/jira/browse/PDFBOX-3624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977234#comment-15977234
 ] 

Tilman Hausherr commented on PDFBOX-3624:
-----------------------------------------

But where in PDFBox would this be useful / speed up / simplify things? I.e. 
where would TTFParser.parse get better because it processed byte arrays? Or is 
it for you, i.e. your own application?

> add a constructor with byte[] to MemoryTTFDataStream
> ----------------------------------------------------
>
>                 Key: PDFBOX-3624
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3624
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 2.0.3
>         Environment: java8 deb stable
>            Reporter: Ralf Hauser
>
> the current approach duplicates byte[] that may already be statically in 
> memory.
> ==> additonal method TTFParser.parse(byte[] input) should be added



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to