package
0.3.0
Repository: https://github.com/devclusterru/go-ios.git
Documentation: pkg.go.dev

# Functions

BuildAckMessage creates a 32+ 16 byte long message that can be used as a response for a messagethe had the ExpectsReply flag set.
DecodeNonBlocking should only be used for the debug proxy to on the fly decode DtxMessages.It is used because if the Decoder encounters an error, we can still keep reading and forwarding the raw bytes.This ensures that the debug proxy keeps working and the byte dump can be used to fix the DtxDecoder.
Encode encodes the given parameters to a DtxMessage that can be sent to the device.
IsIncomplete returns true if the DtxMessage was incomplete.
IsOutOfSync returns true if err is an OutOfSync error.
NewConnection connects and starts reading from a Dtx based service on the device.
NewFragmentDecoder creates a new decoder with the first fragment.
NewGlobalDispatcher create a Dispatcher for the GlobalChannel.
NewIncomplete when the Message was not complete.
NewOutOfSync should be used when the MagicBytes are wrong.
No description provided by the author
ReadMessage uses the reader to fully read a Message from it in blocking mode.
No description provided by the author
WithTimeout adds a custom timeout in seconds to the channel.Some longer running synchronous operations need that.

# Constants

Ack is the messagetype for a 16 byte long acknowleding DtxMessage.
DtxMessageHeaderLength alwys 32 byte.
DtxMessageMagic 4byte signature of every Message.
DtxMessagePayloadHeaderLength always 16 bytes.
DtxReservedBits are always 0x0.
DtxTypeError is the messagetype for a DtxMessage containing an error.
Methodinvocation is the messagetype for a remote procedure call style DtxMessage.
ResponseWithReturnValueInPayload is the response for a method call that has a return value.
Uknown.

# Structs

No description provided by the author
The AuxiliaryHeader can actually be completely ignored.
No description provided by the author
Connection manages channels, including the GlobalChannel, for a DtxConnection and dispatches received messagesto the right channel.
FragmentDecoder collects DtxMessage fragments and merges them into a single DtxMessage when they are complete.This makes it a little easier and it works perfectly fine with Xcode.
GlobalDispatcher the message dispatcher for the automatically created global Channel.
Message contains a decoded DtxMessage aka the most overcomplicated RPC protocol this planet has ever seen :-D DTXMessages consist of a 32byte header that always starts with the DtxMessageMagic It is followed by the 16 bytes PayloadHeader.
PayloadHeader contains the message type and Payload length.
PrimitiveDictionary contains a custom dictionary type only used for DTX.
No description provided by the author

# Interfaces

Dispatcher is a simple interface containing a Dispatch func to receive dtx.Messages.

# Type aliases

ChannelOption for configuring settings on dtx.Channels.
No description provided by the author