diff core/src/luan/modules/Utils.java @ 305:5e7450ac27f2

rename String.byte() to String.unicode(); improve Binary; git-svn-id: https://luan-java.googlecode.com/svn/trunk@306 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 19 Dec 2014 07:50:46 +0000
parents f1f7d8c7e94e
children 60c549d43988
line wrap: on
line diff
--- a/core/src/luan/modules/Utils.java	Thu Dec 18 12:06:56 2014 +0000
+++ b/core/src/luan/modules/Utils.java	Fri Dec 19 07:50:46 2014 +0000
@@ -27,6 +27,10 @@
 		checkNotNull(luan,s,"string");
 	}
 
+	public static void checkNotNull(LuanState luan,byte[] b) throws LuanException {
+		checkNotNull(luan,b,"binary");
+	}
+
 	public static void checkNotNull(LuanState luan,LuanTable t) throws LuanException {
 		checkNotNull(luan,t,"table");
 	}