static void transferObject(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) throws IOException { final int number = input.readFieldNumber(pipeSchema.wrappedSchema); switch (number) { case ID_ARRAY: ObjectSchema.transferArray(pipe, input, output, number, pipeSchema, false, strategy); return; case ID_ARRAY_MAPPED: ObjectSchema.transferArray(pipe, input, output, number, pipeSchema, true, strategy); return; default: throw new ProtostuffException("Corrupt input."); } }
static void transferObject(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy) throws IOException { final int number = input.readFieldNumber(pipeSchema.wrappedSchema); switch (number) { case ID_ARRAY: ObjectSchema.transferArray(pipe, input, output, number, pipeSchema, false, strategy); return; case ID_ARRAY_MAPPED: ObjectSchema.transferArray(pipe, input, output, number, pipeSchema, true, strategy); return; default: throw new ProtostuffException("Corrupt input."); } }
break; case ID_ARRAY: transferArray(pipe, input, output, number, pipeSchema, false, strategy); return; case ID_OBJECT: break; case ID_ARRAY_MAPPED: transferArray(pipe, input, output, number, pipeSchema, true, strategy); return; case ID_CLASS:
break; case ID_ARRAY: transferArray(pipe, input, output, number, pipeSchema, false, strategy); return; case ID_OBJECT: break; case ID_ARRAY_MAPPED: transferArray(pipe, input, output, number, pipeSchema, true, strategy); return; case ID_CLASS: