Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dec_utf8 (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final String readUTF() throws SmbException {
            final int size = readUnsignedShort();
            final byte[] b = new byte[size];
            read(b, 0, size);
            try {
                return Encdec.dec_utf8(b, 0, size);
            } catch (final IOException ioe) {
                throw new SmbException("", ioe);
            }
        }
    
        @Override
        public final void writeBoolean(final boolean v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
        public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException {
            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        public final String readUTF() throws SmbException {
            final int size = readUnsignedShort();
            final byte[] b = new byte[size];
            read(b, 0, size);
            try {
                return Encdec.dec_utf8(b, 0, size);
            } catch (final IOException ioe) {
                throw new SmbException("", ioe);
            }
        }
    
        @Override
        public final void writeBoolean(final boolean v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Encdec.java

         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
        public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException {
            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top