serializes transaction header and transaction data into a byte buffer . concode_field_sep String DB_FORMAT_CONV concode_elem_sep String LOG_DIR concode_elem_sep String SNAP_DIR concode_elem_sep long serialVersionUID concode_elem_sep String prefix concode_elem_sep Logger LOG concode_elem_sep ByteBuffer fill concode_elem_sep boolean ascending concode_field_sep int compare concode_elem_sep URI makeFileLoggerURL concode_elem_sep URI makeFileLoggerURL concode_elem_sep boolean isValidSnapshot concode_elem_sep String makeURIString concode_elem_sep File getLogDir concode_elem_sep String getFormatConversionPolicy concode_elem_sep File getSnapDir concode_elem_sep byte[] readTxnBytes concode_elem_sep long getZxidFromName concode_elem_sep void writeTxnBytes concode_elem_sep List<File> sortDataDir concode_elem_sep long padLogFile concode_elem_sep String makeLogName concode_elem_sep String makeSnapshotName
byte [ ] function ( TxnHeader arg0 , Record arg1 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; OutputArchive loc1 = BinaryOutputArchive . getArchive ( loc0 ) ; arg0 . serialize ( loc1 , "srini_string" ) ; if ( arg1 != null ) { arg1 . serialize ( loc1 , "srini_string" ) ; } return loc0 . toByteArray ( ) ; }