# Packages
Code generated by counterfeiter.
# Functions
DecodePayload transforms byte data to an Payload.
InitializeHook injects the specified DLL into the target process and attempts to initialize a connection with this hook.
NewAdapter creates a new instance of the hook Adapter.
NewDecoder creates a new decoder instance given an io.Reader and a buffer size.
NewIPCReader creates a new IPCReader provided a data source and a factory to create a new IPC decoder.
NewManager creates a new hook Stream Manager.
NewStream creates a new hook Stream.
NewStreamPinger returns a new StreamPinger.
NewStreamReader creates a new StreamReader.
NewStreamSender creates a new StreamSender.
# Variables
ErrInvalidLength is returned whenever data is corrupted in the byte stream and we have potentially faulty data.
# Structs
Adapter defines the implementation of the hook Adapter.
AdapterConfig provides commonly accessed configuration for the hook to the services that make up the hook Adapter.
Decoder is responsible for reading bytes from the provided reader and decoding the data into payloads.
IPCReader reads in payloads from the hook, parses them, and converts the data into xivnet.Blocks.
Manager is responsible for starting up new hook streams whenever it detects that a new instance of a watched process is created.
Payload defines the message format used to communicate with the hook Length is the length of the entire payload, including the length field.
StreamPinger sends a ping through the hook connection to make sure it's still alive.
StreamReader reads data from the hook connection and decodes it into payloads.
StreamSender listens for requests and sends data to the hook.
# Interfaces
DLLAlreadyInjectedError is an error that indicates the DLL has already been injected.
HookDataSender defines the interface that allows the sending of data to the hook connection from the adapter.
RemoteProcessProvider defines the interface that exposes methods for interacting with other processes on the system.
Stream provides the interface for a long running process responsible for handling data coming from the hook, as well as sending data to the hook when necessary.