Volodymyr Panivko created THRIFT-5995:
-----------------------------------------

             Summary: Add native method types to TBase and TException internal 
serialization helpers
                 Key: THRIFT-5995
                 URL: https://issues.apache.org/jira/browse/THRIFT-5995
             Project: Thrift
          Issue Type: Improvement
          Components: PHP - Library
            Reporter: Volodymyr Panivko


Type the protected/private serialization helpers shared by TBase and TException 
(the HackTown duplicate):

- readStruct(string class, array spec, TProtocol input): int
- writeStruct(string class, array spec, TProtocol output): int
- readMap(mixed &var, array spec, TProtocol input): int
- readList(mixed &var, array spec, TProtocol input, bool set = false): int
- writeMap(array var, array spec, TProtocol output): int
- writeList(array var, array spec, TProtocol output, bool set = false): int

Completes the in-library typing pass started by THRIFT-5981 (TProtocol) and 
THRIFT-5985 (TException public surface). Part of umbrella THRIFT-5960.



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

Reply via email to