aboutsummaryrefslogblamecommitdiff
path: root/goldap/read.go
blob: 4ed9debf5f42b004b41535ece6a45063dc4f895a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                     
package message

import (
	"fmt"
)

func ReadLDAPMessage(bytes *Bytes) (message LDAPMessage, err error) {
	err = bytes.ReadSubBytes(classUniversal, tagSequence, message.readComponents)
	if err != nil {
		err = LdapError{fmt.Sprintf("ReadLDAPMessage:\n%s", err.Error())}
		return
	}
	return
}

//
//        END
//