Tabnine Logo
BytesFieldConsumer
Code IndexAdd Tabnine to your IDE (free)

How to use
BytesFieldConsumer
in
com.ociweb.pronghorn.util.field

Best Java code snippets using com.ociweb.pronghorn.util.field.BytesFieldConsumer (Showing top 12 results out of 315)

origin: com.ociweb/PronghornPipes

public MessageConsumer bytesProcessor(int fieldId, BytesFieldProcessor processor) {
  
  FieldConsumer consumer = new BytesFieldConsumer(processor);		
  storeField(fieldId,consumer);
  list.add(consumer);
  
  return this;
}
 
origin: com.ociweb/pronghorn-pipes

public void store(long value) {	
    
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addLongAsASCII(pipe, value);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
    
}

origin: com.ociweb/pronghorn-pipes

public void store(byte e, long m) {
  
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addDecimalAsASCII(e, m, pipe);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}

origin: oci-pronghorn/Pronghorn

public void store(long value) {	
    
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addLongAsASCII(pipe, value);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
    
}

origin: com.ociweb/pronghorn-pipes

public MessageConsumer bytesProcessor(int fieldId, BytesFieldProcessor processor) {
  
  FieldConsumer consumer = new BytesFieldConsumer(processor);		
  storeField(fieldId,consumer);
  list.add(consumer);
  
  return this;
}

origin: oci-pronghorn/Pronghorn

public void store(long numerator, long denominator) {
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);      
  Pipe.addRationalAsASCII(pipe, numerator, denominator);       
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}
origin: oci-pronghorn/Pronghorn

public MessageConsumer bytesProcessor(int fieldId, BytesFieldProcessor processor) {
  
  FieldConsumer consumer = new BytesFieldConsumer(processor);		
  storeField(fieldId,consumer);
  list.add(consumer);
  
  return this;
}

origin: com.ociweb/PronghornPipes

public void store(long value) {	
    
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addLongAsASCII(pipe, value);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
    
}
 
origin: oci-pronghorn/Pronghorn

public void store(byte e, long m) {
  
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addDecimalAsASCII(e, m, pipe);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}

origin: com.ociweb/PronghornPipes

public void store(byte e, long m) {
  
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);
  Pipe.addDecimalAsASCII(e, m, pipe);
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}
 
origin: com.ociweb/PronghornPipes

public void store(long numerator, long denominator) {
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);      
  Pipe.addRationalAsASCII(pipe, numerator, denominator);       
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}
origin: com.ociweb/pronghorn-pipes

public void store(long numerator, long denominator) {
  int size = Pipe.addMsgIdx(pipe, RawDataSchema.MSG_CHUNKEDSTREAM_1);      
  Pipe.addRationalAsASCII(pipe, numerator, denominator);       
  Pipe.confirmLowLevelWrite(pipe, size);
  Pipe.publishWrites(pipe);
      
  extractBytes();
  
}
com.ociweb.pronghorn.util.fieldBytesFieldConsumer

Most used methods

  • <init>
  • extractBytes

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • findViewById (Activity)
  • Kernel (java.awt.image)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Best IntelliJ plugins
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