public void Marshal(Writer writer) throws Exception { writer.WriteUint16(id); writer.WriteUint16(method); writer.WriteUint16(service); writer.WriteUint16((short) params.length); for (com.github.gsdocker.gsrpc.Param v3 : params) { v3.Marshal(writer); } }
public void Unmarshal(Reader reader) throws Exception { id = reader.ReadUint16(); method = reader.ReadUint16(); service = reader.ReadUint16(); int imax3 = reader.ReadUint16(); params = new com.github.gsdocker.gsrpc.Param[imax3]; for (int i3 = 0; i3 < imax3; i3++) { com.github.gsdocker.gsrpc.Param v3 = new com.github.gsdocker.gsrpc.Param(); v3.Unmarshal(reader); params[i3] = v3; } }