Codota Logo
AMF3Deserializer.ensureAvailable
Code IndexAdd Codota 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)

  • Common ways to obtain AMF3Deserializer
private void myMethod () {
AMF3Deserializer a =
  • Codota IconInputStream in;new AMF3Deserializer(in)
  • Smart code suggestions by Codota
}
origin: org.graniteds/granite-client-java

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

@Override
public boolean readBoolean() throws IOException {
  ensureAvailable(1);
  return (buffer[position++] != 0);
}
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-java

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

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

@Override
public int read() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
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 char readChar() throws IOException {
  ensureAvailable(2);
  return (char)(((buffer[position++] & 0xFF) << 8) | (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-javafx

@Override
public int readUnsignedByte() throws IOException {
  ensureAvailable(1);
  return (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-java

@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-server

@Override
public byte readByte() throws IOException {
  ensureAvailable(1);
  return buffer[position++];
}
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-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-client-javafx

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

public Object readObject() throws IOException {
  ensureAvailable(1);
  int type = buffer[position++];
  
  return readObject(type);
}
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;
}
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

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
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