Tabnine Logo
AMF3Deserializer.ensureAvailable
Code IndexAdd Tabnine to your IDE (free)

How to use
ensureAvailable
method
in
org.granite.messaging.amf.io.AMF3Deserializer

Best Java code snippets using org.granite.messaging.amf.io.AMF3Deserializer.ensureAvailable (Showing top 20 results out of 315)

origin: org.graniteds/granite-client-java

@Override
public boolean readBoolean() throws IOException {
  ensureAvailable(1);
  return (buffer[position++] != 0);
}
origin: org.graniteds/granite-client-java

@Override
public int readUnsignedByte() throws IOException {
  ensureAvailable(1);
  return (buffer[position++] & 0xFF);
}
origin: org.graniteds/granite-server

@Override
public int readUnsignedByte() throws IOException {
  ensureAvailable(1);
  return (buffer[position++] & 0xFF);
}
origin: org.graniteds/granite-server

@Override
public char readChar() throws IOException {
  ensureAvailable(2);
  return (char)(((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-javafx

@Override
public short readShort() throws IOException {
  ensureAvailable(2);
  return (short)(((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-java

@Override
public int readUnsignedShort() throws IOException {
  ensureAvailable(2);
  return (((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-java

@Override
public int read() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
origin: org.graniteds/granite-server

@Override
public byte readByte() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
origin: org.graniteds/granite-server

@Override
public short readShort() throws IOException {
  ensureAvailable(2);
  return (short)(((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-javafx

@Override
public byte readByte() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
origin: org.graniteds/granite-client-javafx

@Override
public int readUnsignedByte() throws IOException {
  ensureAvailable(1);
  return (buffer[position++] & 0xFF);
}
origin: org.graniteds/granite-client-javafx

@Override
public int readUnsignedShort() throws IOException {
  ensureAvailable(2);
  return (((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-java

@Override
public byte readByte() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
origin: org.graniteds/granite-client-java

@Override
public char readChar() throws IOException {
  ensureAvailable(2);
  return (char)(((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-client-java

@Override
public short readShort() throws IOException {
  ensureAvailable(2);
  return (short)(((buffer[position++] & 0xFF) << 8) | (buffer[position++] & 0xFF));
}
origin: org.graniteds/granite-server

public Object readObject() throws IOException {
  ensureAvailable(1);
  int type = buffer[position++];
  
  return readObject(type);
}
origin: org.graniteds/granite-client-javafx

public Object readObject() throws IOException {
  ensureAvailable(1);
  int type = buffer[position++];
  
  return readObject(type);
}
origin: org.graniteds/granite-client-java

protected Double readAMF3Double() throws IOException {
  ensureAvailable(8);
  
  double d = Double.longBitsToDouble(readLongData(buffer, position));
  position += 8;
  return Double.isNaN(d) ? null : d;
}
origin: org.graniteds/granite-server

protected Double readAMF3Double() throws IOException {
  ensureAvailable(8);
  
  double d = Double.longBitsToDouble(readLongData(buffer, position));
  position += 8;
  return Double.isNaN(d) ? null : d;
}
origin: org.graniteds/granite-client-java

public Object readObject() throws IOException {
  ensureAvailable(1);
  int type = buffer[position++];
  
  return readObject(type);
}
org.granite.messaging.amf.ioAMF3DeserializerensureAvailable

Popular methods of AMF3Deserializer

  • <init>
  • readObject
  • close
  • readAMF3Array
  • readAMF3ByteArray
  • readAMF3Date
  • readAMF3Double
  • readAMF3Integer
  • readAMF3Object
  • readAMF3String
  • readAMF3VectorInt
  • readAMF3VectorNumber
  • readAMF3VectorInt,
  • readAMF3VectorNumber,
  • readAMF3VectorObject,
  • readAMF3Xml,
  • readAMF3XmlString,
  • readByte,
  • readDouble,
  • readFully,
  • readInt,
  • readUnsignedByte

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • JFrame (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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