Nikolay Izhikov created IGNITE-29153:
----------------------------------------

             Summary: Move BinaryUtils read helpers to BinaryReaderExImpl
                 Key: IGNITE-29153
                 URL: https://issues.apache.org/jira/browse/IGNITE-29153
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Nikolay Izhikov
            Assignee: Nikolay Izhikov


Add {{BinariesFactory#unmarshal}} so {{GridBinaryMarshaller}} no longer calls 
the package-private {{BinaryUtils#unmarshal}} directly. Then move the unmarshal 
switch and its {{doRead*}} helpers out of ignite-binary-api: the helpers used 
only by the reader become private static members of {{BinaryReaderExImpl}}; 
{{checkProtocolVersion}}, {{length}}, {{doReadClassName}} and 
{{doReadOptimized}}, which the builder and the offheap object also use, move to 
{{BinaryImplUtils}}. {{doReadStringArray}} stays in {{BinaryUtils}} because the 
thin client calls it.

Methods move verbatim, no behaviour change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to