Searched refs:byteArrayOutputStream (Results 1 – 5 of 5) sorted by relevance
245 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testBinaryString_serializeValidCompoundFormula_notConnector() local246 byteArrayOutputStream.write(DEFAULT_FORMAT_VERSION_BYTES); in testBinaryString_serializeValidCompoundFormula_notConnector()247 byteArrayOutputStream.write(getBytes(expectedBits)); in testBinaryString_serializeValidCompoundFormula_notConnector()248 byte[] expectedRules = byteArrayOutputStream.toByteArray(); in testBinaryString_serializeValidCompoundFormula_notConnector()295 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testBinaryString_serializeValidCompoundFormula_andConnector() local296 byteArrayOutputStream.write(DEFAULT_FORMAT_VERSION_BYTES); in testBinaryString_serializeValidCompoundFormula_andConnector()297 byteArrayOutputStream.write(getBytes(expectedBits)); in testBinaryString_serializeValidCompoundFormula_andConnector()298 byte[] expectedRules = byteArrayOutputStream.toByteArray(); in testBinaryString_serializeValidCompoundFormula_andConnector()345 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testBinaryString_serializeValidCompoundFormula_orConnector() local346 byteArrayOutputStream.write(DEFAULT_FORMAT_VERSION_BYTES); in testBinaryString_serializeValidCompoundFormula_orConnector()[all …]
137 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in readCommand() local141 byteArrayOutputStream.write(b); in readCommand()144 byte[] bytes = byteArrayOutputStream.toByteArray(); in readCommand()
234 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in roundTrip() local235 KeyChainSnapshotSerializer.serialize(snapshot, byteArrayOutputStream); in roundTrip()237 new ByteArrayInputStream(byteArrayOutputStream.toByteArray())); in roundTrip()
316 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in toByteArray() local317 ObjectOutputStream stream = new ObjectOutputStream(byteArrayOutputStream); in toByteArray()321 return byteArrayOutputStream.toByteArray(); in toByteArray()
556 ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in onStart() local557 PrintStream writer = new PrintStream(byteArrayOutputStream); in onStart()577 byteArrayOutputStream.toString())); in onStart()