Package com.esotericsoftware.kryo.io

Examples of com.esotericsoftware.kryo.io.UnsafeMemoryInput.readBytes()


      if (bulkReadsSupported && input instanceof UnsafeInput) {
        UnsafeInput unsafeInput = (UnsafeInput)input;
        unsafeInput.readBytes(object, offset, len);
      } else if (bulkReadsSupported && input instanceof UnsafeMemoryInput) {
        UnsafeMemoryInput unsafeInput = (UnsafeMemoryInput)input;
        unsafeInput.readBytes(object, offset, len);
      } else {
        readSlow(input, object);
      }
    }
View Full Code Here


      if (bulkReadsSupported && input instanceof UnsafeInput) {
        UnsafeInput unsafeInput = (UnsafeInput)input;
        unsafeInput.readBytes(object, offset, len);
      } else if (bulkReadsSupported && input instanceof UnsafeMemoryInput) {
        UnsafeMemoryInput unsafeInput = (UnsafeMemoryInput)input;
        unsafeInput.readBytes(object, offset, len);
      } else {
        readSlow(input, object);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.