/siebns

Go package to modify Oracle Siebel CRM Gateway Naming file

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

siebns Package

https://travis-ci.org/rusq/siebns.svg?branch=master

Package siebns currently only allows fixing the encoded file size in Oracle Siebel CRM Gateway Naming file after making manual modifications to it.

It provides the NSFile structure and member functions to allow loading and fixing the aforementioned files.

Example:

ns,err := siebns.Open("siebns.dat")
if err != nil {
    log.Fatalf("%s", err)
}
defer ns.Close()

if !ns.IsHeaderCorrect() {
    wrote, err := ns.FixSize()
    if err != nil {
        log.Fatalf("Error writing to file:  %s\n", err)
    }
}

Please consult the package documentation for further details.