Example usage for com.google.gwt.typedarrays.shared Int8Array length

List of usage examples for com.google.gwt.typedarrays.shared Int8Array length

Introduction

In this page you can find the example usage for com.google.gwt.typedarrays.shared Int8Array length.

Prototype

int length();

Source Link

Document

The length in elements of this view.

Usage

From source file:com.koobe.editor.editor.dispatch.SendFileToServerHandler.java

License:Apache License

@Override
public SendFileToServerResult execute(SendFileToServerAction action, ExecutionContext context)
        throws ActionException {
    Int8Array input = action.getTextToServer();

    String response = String.format("length: " + input.length());

    return new SendFileToServerResult(response);
}