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

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

Best Java code snippets using org.apache.activemq.openwire.v3.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: 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.v3WireFormatInfoMarshallertightMarshalConstByteArray2

Popular methods of WireFormatInfoMarshaller

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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