11 lines
312 B
Go
11 lines
312 B
Go
package ipp_test
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/zmap/zgrab2/modules/ipp"
|
|
)
|
|
|
|
func ExampleAttributeByteString() {
|
|
fmt.Println(ipp.AttributeByteString(0x47, "attributes-charset", "us-ascii"))
|
|
// Output: [71 0 18 97 116 116 114 105 98 117 116 101 115 45 99 104 97 114 115 101 116 0 8 117 115 45 97 115 99 105 105]
|
|
} |