code: public static Boolean decodeBooleanObj(byte[] src, int srcOffset)
          throws CorruptEncodingException
      {
          try {
              switch (src[srcOffset]) {
              case NULL_BYTE_LOW: case NULL_BYTE_HIGH:
                  return null;
              case (byte)128:
                  return Boolean.TRUE;
              default:
                  return Boolean.FALSE;
              }
          } catch (IndexOutOfBoundsException e) {
              throw new CorruptEncodingException(null, e);
          }
      }
docs: Decodes a Boolean object from exactly 1 byte.
  
  @param src source of encoded bytes
  @param srcOffset offset into source array
  @return Boolean object or null