/** * Serialize this message to the provided OutputStream using the bitcoin wire format. * * @param stream * @throws IOException */ public final void bitcoinSerialize(OutputStream stream) throws IOException { // 1st check for cached bytes. if (payload != null && length != UNKNOWN_LENGTH) { stream.write(payload, offset, length); return; } bitcoinSerializeToStream(stream); }
/** * Serialize this message to the provided OutputStream using the bitcoin wire format. * * @param stream * @throws IOException */ public final void bitcoinSerialize(OutputStream stream) throws IOException { // 1st check for cached bytes. if (payload != null && length != UNKNOWN_LENGTH) { stream.write(payload, offset, length); return; } bitcoinSerializeToStream(stream); }
/** * Serialize this message to the provided OutputStream using the bitcoin wire format. * * @param stream * @throws IOException */ public final void bitcoinSerialize(OutputStream stream) throws IOException { // 1st check for cached bytes. if (payload != null && length != UNKNOWN_LENGTH) { stream.write(payload, offset, length); return; } bitcoinSerializeToStream(stream); }
/** * Serialize this message to the provided OutputStream using the bitcoin wire format. * * @param stream * @throws IOException */ public final void bitcoinSerialize(OutputStream stream) throws IOException { // 1st check for cached bytes. if (payload != null && length != UNKNOWN_LENGTH) { stream.write(payload, offset, length); return; } bitcoinSerializeToStream(stream); }
bitcoinSerializeToStream(stream); } catch (IOException e) {
bitcoinSerializeToStream(stream); } catch (IOException e) {
bitcoinSerializeToStream(stream); } catch (IOException e) {
bitcoinSerializeToStream(stream); } catch (IOException e) {