Java tutorial
//package com.java2s; public class Main { public static byte[] codeString(String str) { int L = str.length(); byte[] result; if (L < 254) { } return null; } }