Hey All -

I've been working with jython and hbase for awhile but I'm having a problem converting this function into jython.

java example code:

Scan scan = new Scan();
List<Pair<byte[], byte[]>> fuzzyKeysData = new ArrayList<Pair<byte[],byte[]>>();
// search for "?BC??FG"
fuzzyKeysData.add(new Pair<byte[],byte[]>(Bytes.toBytes("\\x00BC\\x00\\x00FG"), new byte[]{1, 0, 0, 1, 1, 0, 0}));
FuzzyRowFilter filter = new FuzzyRowFilter(fuzzyKeysData);

I've figured out much of it, but i'm unable to get byte[] to work. Reading the jython docs byte[] should be treated as a string but i'm not exactly sure how to do that.

Could anybody help me out?