Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + func AllocCString(s string) *byte + func CPSLDecode(h Handle, proto string, data []byte) (string, error) + func CPSLEncode(h Handle, proto string, fieldsJSON string) ([]byte, error) + func CPSLFree(h Handle) + func CPSLList(h Handle) (string, error) + func CPSLLoad(h Handle, path string) error + func Decode(h Handle, protoName string, data []byte) (string, error) + func Encode(h Handle, protoName string, fieldsJSON string) ([]byte, error) + func FreeCString(p *byte) + func FreeLibrary(h Handle) + func GenerateCHeader() string + func GenerateCMakeExample() string + func GeneratePythonBinding() string + func GenerateRustBinding() string + func GenerateScapyInterop() string + func GenerateTypeScriptBinding() string + func GetLibrary(h Handle) *protocol.Library + func GoString(p *byte) string + func ListProtocols(h Handle) (string, error) + func LoadPSL(h Handle, filePath string) error + type CResult struct + Data *byte + Error *byte + Len int + type Handle uintptr + func CPSLNew() (Handle, *byte) + func NewLibrary() (Handle, error) + type SDKError struct + func (e *SDKError) Error() string