Codota Logo
WireFormatInfoMarshaller.tightMarshalByteSequence2
Code IndexAdd Codota to your IDE (free)

How to use
tightMarshalByteSequence2
method
in
org.apache.activemq.openwire.v3.WireFormatInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.WireFormatInfoMarshaller.tightMarshalByteSequence2 (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
origin: org.apache.activemq/activemq-all

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
origin: pierre/meteo

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
org.apache.activemq.openwire.v3WireFormatInfoMarshallertightMarshalByteSequence2

Popular methods of WireFormatInfoMarshaller

  • looseMarshalByteSequence
  • looseMarshalConstByteArray
  • looseUnmarshalByteSequence
  • looseUnmarshalConstByteArray
  • tightMarshalByteSequence1
  • tightMarshalConstByteArray1
  • tightMarshalConstByteArray2
  • tightUnmarshalByteSequence
  • tightUnmarshalConstByteArray

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now