serializes and deserializes the the gcsoutputchannel . this simulates the writing of the file continuing from a different request . concode_field_sep int BUFFER_SIZE concode_elem_sep LocalServiceTestHelper helper concode_field_sep void testAlignedWrites concode_elem_sep void testSmallWrites concode_elem_sep void testLargeWrites concode_elem_sep void testPartialFlush concode_elem_sep void tearDown concode_elem_sep void testUnalignedWrites concode_elem_sep void verifyContent concode_elem_sep int readFully concode_elem_sep void setUp concode_elem_sep ByteArrayOutputStream writeChannelToStream concode_elem_sep void testSingleLargeWrite concode_elem_sep void testBufferSize concode_elem_sep void writeFile
GcsOutputChannel function ( GcsOutputChannel arg0 ) { ByteArrayOutputStream loc0 = writeChannelToStream ( arg0 ) ; ObjectInputStream loc1 = new ObjectInputStream ( new ByteArrayInputStream ( loc0 . toByteArray ( ) ) ) ; return ( GcsOutputChannel ) loc1 . readObject ( ) ; }