Skip to content

Decoding of several FI-Documents in 1 InputStream fails #38

Description

@Tomas-Kraus

I want to read several unrelated FI documents from one InputStream (network connection). This fails, because the method Decoder._isFastInfosetDocument() expect the binary header to be at the beginning of the _octetBuffer. It would be nice, when _isFastInfosetDocument() would check for the binary header at the current position of the _octetBuffer.

A unfied diff to achieve this behavior based on revision 858 of the FastInfoset-1_2-branch is included.

Environment

Java 1.6

Affected Versions

[1.2.9]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions