public static byte[] stringToGsm8BitPacked(String s){
  byte[] ret;
  int septets=countGsmSeptetsUsingTables(s,true,0,0);
  ret=new byte[septets];
  stringToGsm8BitUnpackedField(s,ret,0,ret.length);
  return ret;
}

public static byte [ ] stringToGsm8BitPacked ( String s ) { byte [ ] ret ; int septets = countGsmSeptetsUsingTables ( s , true , 0 , 0 ) ; ret = new byte [ septets ] ; stringToGsm8BitUnpackedField ( s , ret , 0 , ret . length ) ; return ret ; }
convert a string into an 8 - bit unpacked gsm alphabet byte array . always uses gsm default 7 - bit alphabet and extension table .
