Mercurial Hosting > luan
diff src/luan/modules/BinaryLuan.java @ 1335:e0cf0d108a77
major cleanup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 14 Feb 2019 03:10:45 -0700 |
parents | 25746915a241 |
children | f7e2df85fc0a |
line wrap: on
line diff
--- a/src/luan/modules/BinaryLuan.java Tue Feb 12 22:53:57 2019 -0700 +++ b/src/luan/modules/BinaryLuan.java Thu Feb 14 03:10:45 2019 -0700 @@ -5,7 +5,6 @@ import luan.LuanTable; import luan.LuanFunction; import luan.LuanException; -import luan.LuanMethod; public final class BinaryLuan { @@ -28,7 +27,7 @@ return i==null ? dflt : end(binary,i); } - @LuanMethod public static Byte[] byte_(byte[] binary,Integer i,Integer j) throws LuanException { + public static Byte[] byte_(byte[] binary,Integer i,Integer j) throws LuanException { Utils.checkNotNull(binary); int start = start(binary,i,1); int end = end(binary,j,start+1); @@ -39,7 +38,7 @@ return bytes; } - @LuanMethod public static byte[] binary(byte... bytes) { + public static byte[] binary(byte... bytes) { return bytes; }