code: public static boolean decodeBoolean(byte[] src, int srcOffset)
          throws CorruptEncodingException
      {
          try {
              return src[srcOffset] == (byte)128;
          } catch (IndexOutOfBoundsException e) {
              throw new CorruptEncodingException(null, e);
          }
      }
docs: Decodes a boolean from exactly 1 byte.
  
  @param src source of encoded bytes
  @param srcOffset offset into source array
  @return boolean value