protected Double readAMF3Double() throws IOException { ensureAvailable(8); double d = Double.longBitsToDouble(readLongData(buffer, position)); position += 8; return Double.isNaN(d) ? null : d; }
protected Double readAMF3Double() throws IOException { ensureAvailable(8); double d = Double.longBitsToDouble(readLongData(buffer, position)); position += 8; return Double.isNaN(d) ? null : d; }
protected Double readAMF3Double() throws IOException { ensureAvailable(8); double d = Double.longBitsToDouble(readLongData(buffer, position)); position += 8; return Double.isNaN(d) ? null : d; }
protected Date readAMF3Date() throws IOException { final int type = readAMF3UnsignedInteger(); if ((type & 0x01) == 0) // stored Date return (Date)storedObjects.get(type >>> 1); ensureAvailable(8); Date result = new Date((long)Double.longBitsToDouble(readLongData(buffer, position))); position += 8; storedObjects.add(result); return result; }
protected Date readAMF3Date() throws IOException { final int type = readAMF3UnsignedInteger(); if ((type & 0x01) == 0) // stored Date return (Date)storedObjects.get(type >>> 1); ensureAvailable(8); Date result = new Date((long)Double.longBitsToDouble(readLongData(buffer, position))); position += 8; storedObjects.add(result); return result; }
protected Date readAMF3Date() throws IOException { final int type = readAMF3UnsignedInteger(); if ((type & 0x01) == 0) // stored Date return (Date)storedObjects.get(type >>> 1); ensureAvailable(8); Date result = new Date((long)Double.longBitsToDouble(readLongData(buffer, position))); position += 8; storedObjects.add(result); return result; }