Example usage for com.google.gwt.typedarrays.client Int8ArrayNative create

List of usage examples for com.google.gwt.typedarrays.client Int8ArrayNative create

Introduction

In this page you can find the example usage for com.google.gwt.typedarrays.client Int8ArrayNative create.

Prototype

public static native Int8ArrayNative create(ArrayBuffer buffer, int byteOffset, int length) ;

Source Link

Usage

From source file:java.nio.DirectByteBuffer.java

License:Apache License

DirectByteBuffer(ArrayBuffer buffer, int capacity, int offset) {
    super(capacity);
    byteArray = Int8ArrayNative.create(buffer, offset, capacity);
}