code: public static Vector getTextString(int[] data, int offset) throws Exception {
  		int bitPos = offset;
  	    int newBitPos = ((Integer)DwgUtil.getBitShort(data, bitPos).get(0)).intValue();
  	    int len = ((Integer)DwgUtil.getBitShort(data, bitPos).get(1)).intValue();
  	    bitPos = newBitPos;
  	    int bitLen = len * 8;
  	    Object cosa = DwgUtil.getBits(data, bitLen, bitPos);
  	    String string;
  	    if (cosa instanceof byte[]) {
  		    string = new String((byte[])cosa);
  	    }
docs: Read a String from a group of unsigned bytes
  
  @param data Array of unsigned bytes obtained from the DWG binary file
  @param offset The current bit offset where the value begins
  @throws Exception If an unexpected bit value is found in the DWG file. Occurs
  when we are looking for LwPolylines.
  @return Vector This vector has two parts. First is an int value that represents
  the new offset, and second is the String