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

How to use
tightMarshalConstByteArray2
method
in
org.apache.activemq.openwire.v2.WireFormatInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.WireFormatInfoMarshaller.tightMarshalConstByteArray2 (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: 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);
}
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);
}
org.apache.activemq.openwire.v2WireFormatInfoMarshallertightMarshalConstByteArray2

Popular methods of WireFormatInfoMarshaller

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
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