Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toByteArray (0.15 sec)

  1. src/main/java/jcifs/smb/SID.java

                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
        /**
         * 
         * @return encoded SID
         */
        public byte[] toByteArray () {
            return toByteArray(this);
        }
    
    
        /**
         * 
         * @return whether the SID is empty (no sub-authorities)
         */
        public boolean isEmpty () {
            return this.sub_authority_count == 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

                    if (policyHandle != null) {
                        policyHandle.close();
                    }
                    handle.close();
                }
            }
    }
        }
        public static byte[] toByteArray(rpc.sid_t sid) {
            byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[di++] = sid.revision;
            dst[di++] = sid.sub_authority_count;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top