Tabnine Logo
WireFormatInfoMarshaller.tightMarshalConstByteArray2
Code IndexAdd Tabnine 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)

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

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now