From 36e7244f5333f40b108eb7847403e629f98ff57f Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Tue, 28 Jul 2020 10:39:01 -0400 Subject: [PATCH] feat(android): add Ti.Blob.toArrayBuffer() --- .../titanium/src/java/org/appcelerator/titanium/TiBlob.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java b/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java index ef414b26c05..058270966c9 100644 --- a/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java +++ b/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java @@ -1,6 +1,6 @@ /** * Appcelerator Titanium Mobile - * Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved. + * Copyright (c) 2009-2020 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ @@ -292,6 +292,7 @@ public void loadBitmapInfo() * @return binary data. * @module.api */ + @Kroll.method(name = "toArrayBuffer") public byte[] getBytes() { byte[] bytes = new byte[0];