congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Input.readFixed64
Code IndexAdd Tabnine to your IDE (free)

How to use
readFixed64
method
in
io.protostuff.Input

Best Java code snippets using io.protostuff.Input.readFixed64 (Showing top 20 results out of 315)

origin: apache/incubator-dubbo

@Override
public Time readFrom(Input input) throws IOException {
  return new Time(input.readFixed64());
}
origin: apache/incubator-dubbo

@Override
public Time readFrom(Input input) throws IOException {
  return new Time(input.readFixed64());
}
origin: protostuff/protostuff

@Override
public long readFixed64() throws IOException
{
  return input.readFixed64();
}
origin: apache/incubator-dubbo

@Override
public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException {
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: apache/incubator-dubbo

@Override
public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException {
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: protostuff/protostuff

@Override
public Date readFrom(Input input) throws IOException
{
  return new Date(input.readFixed64());
}
origin: protostuff/protostuff

@Override
public Date readFrom(Input input) throws IOException
{
  return new Date(input.readFixed64());
}
origin: protostuff/protostuff

@Override
public Date readFrom(Input input) throws IOException
{
  return new Date(input.readFixed64());
}
origin: protostuff/protostuff

@Override
public void transfer(Pipe pipe, Input input, Output output, int number,
    boolean repeated) throws IOException
{
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: protostuff/protostuff

@Override
public void transfer(Pipe pipe, Input input, Output output, int number,
    boolean repeated) throws IOException
{
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: protostuff/protostuff

@Override
public void transfer(Pipe pipe, Input input, Output output, int number,
    boolean repeated) throws IOException
{
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: protostuff/protostuff

  if (message.someFixed64 == null)
    message.someFixed64 = new ArrayList<Long>();
  message.someFixed64.add(input.readFixed64());
  break;
default:
origin: protostuff/protostuff

@Override
public Object readFrom(Input input, Object owner) throws IOException
{
  if (ID_ARRAY_LEN != input.readFieldNumber(this))
    throw new ProtostuffException("Corrupt input.");
  final int len = input.readInt32();
  Date[] array = new Date[len];
  if (input instanceof GraphInput)
  {
    // update the actual reference.
    ((GraphInput) input).updateLast(array, owner);
  }
  for (int i = 0; i < len;)
  {
    switch (input.readFieldNumber(this))
    {
      case ID_ARRAY_DATA:
        array[i++] = new Date(input.readFixed64());
        break;
      case ID_ARRAY_NULLCOUNT:
        i += input.readUInt32();
        break;
      default:
        throw new ProtostuffException("Corrupt input.");
    }
  }
  if (0 != input.readFieldNumber(this))
    throw new ProtostuffException("Corrupt input.");
  return array;
}
origin: protostuff/protostuff

@Override
public Object readFrom(Input input, Object owner) throws IOException
{
  if (ID_ARRAY_LEN != input.readFieldNumber(this))
    throw new ProtostuffException("Corrupt input.");
  final int len = input.readInt32();
  Date[] array = new Date[len];
  if (input instanceof GraphInput)
  {
    // update the actual reference.
    ((GraphInput) input).updateLast(array, owner);
  }
  for (int i = 0; i < len;)
  {
    switch (input.readFieldNumber(this))
    {
      case ID_ARRAY_DATA:
        array[i++] = new Date(input.readFixed64());
        break;
      case ID_ARRAY_NULLCOUNT:
        i += input.readUInt32();
        break;
      default:
        throw new ProtostuffException("Corrupt input.");
    }
  }
  if (0 != input.readFieldNumber(this))
    throw new ProtostuffException("Corrupt input.");
  return array;
}
origin: protostuff/protostuff

@Override
public void mergeFrom(Input input, UnsignedNumbers message) throws IOException
{
  for (int number = input.readFieldNumber(this); ; number = input.readFieldNumber(this))
  {
    switch (number)
    {
      case 0:
        return;
      case 1:
        message.uint32 = input.readUInt32();
        break;
      case 2:
        message.uint64 = input.readUInt64();
        break;
      case 3:
        message.fixed32 = input.readFixed32();
        break;
      case 4:
        message.fixed64 = input.readFixed64();
        break;
      default:
        input.handleUnknownField(number, this);
    }
  }
}
origin: protostuff/protostuff

  break;
case 14:
  message.someFixed64 = input.readFixed64();
  break;
case 15:
origin: org.apache.servicecomb/foundation-protobuf

@Override
public Object readFrom(Input input) throws IOException {
 return input.readFixed64();
}
origin: org.apache.dubbo/dubbo-serialization-protostuff

@Override
public Time readFrom(Input input) throws IOException {
  return new Time(input.readFixed64());
}
origin: org.apache.dubbo/dubbo

@Override
public void transfer(Pipe pipe, Input input, Output output, int number, boolean repeated) throws IOException {
  output.writeFixed64(number, input.readFixed64(), repeated);
}
origin: org.apache.servicecomb/foundation-protobuf

@Override
public void mergeFrom(Input input, Object message) throws IOException {
 setter.set(message, input.readFixed64());
}
io.protostuffInputreadFixed64

Javadoc

Reads a fixed long(8 bytes) field value.

Popular methods of Input

  • readFieldNumber
  • handleUnknownField
  • readString
  • mergeObject
  • readInt32
  • readInt64
  • readBool
  • readDouble
  • readBytes
    Reads a field value into a ByteBuffer.
  • readEnum
    Reads an enum(its number) field value.
  • readUInt32
  • readByteArray
  • readUInt32,
  • readByteArray,
  • readFloat,
  • readUInt64,
  • transferByteRangeTo,
  • readSFixed64,
  • readFixed32,
  • readSFixed32,
  • readSInt32

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • From CI to AI: The AI layer in your organization
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