Documentation ¶
Index ¶
- func BufferToByteArray(buffer unsafe.Pointer, size int) []byte
- func FromBoolValue(boolValue *wrapperspb.BoolValue) *bool
- func FromDoubleValue(value *wrapperspb.DoubleValue) *float64
- func FromInt32Value(value *wrapperspb.Int32Value) *int32
- func FromStringValue(value *wrapperspb.StringValue) *string
- func GetInt64FromMessage(buffer unsafe.Pointer, size int) int64
- func GetStringFromMessage(buffer unsafe.Pointer, size int) string
- func Init(api unsafe.Pointer)
- func NonEmptyBytes(bytes []byte) []byte
- func SendByteArrayMessage(port int64, value []byte)
- func SendEmptyMessage(port int64)
- func SendErrorMessage(port int64, err error)
- func SendInt64Message(port int64, value int64)
- func SendInt64ToPort(port int64, msg int64)
- func SendJsonMessage(port int64, v interface{})
- func SendMessage(port int64, m proto.Message)
- func SendStringMessage(port int64, value string)
- func SendStringToPort(port int64, value string)
- func SendUInt8ArrayToPort(port int64, value []uint8)
- func Unmarshal(buffer unsafe.Pointer, size int, m proto.Message)
- func UnmarshalBytes(bytes []byte, m proto.Message)
- type UTypedData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBoolValue ¶
func FromBoolValue(boolValue *wrapperspb.BoolValue) *bool
func FromDoubleValue ¶
func FromDoubleValue(value *wrapperspb.DoubleValue) *float64
func FromInt32Value ¶
func FromInt32Value(value *wrapperspb.Int32Value) *int32
func FromStringValue ¶
func FromStringValue(value *wrapperspb.StringValue) *string
func NonEmptyBytes ¶
func SendByteArrayMessage ¶
func SendEmptyMessage ¶
func SendEmptyMessage(port int64)
func SendErrorMessage ¶
func SendInt64Message ¶
func SendInt64ToPort ¶
func SendJsonMessage ¶
func SendJsonMessage(port int64, v interface{})
func SendMessage ¶
func SendStringMessage ¶
func SendStringToPort ¶
func SendUInt8ArrayToPort ¶
func UnmarshalBytes ¶
Types ¶
type UTypedData ¶
type UTypedData struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.