Skip to content

Instance Method

encode(data:out:)

Called once there is data to encode.
func encode(data: MySQLPacket, out: inout ByteBuffer) throws

Parameters

data

The data to encode into a ByteBuffer.

out

The ByteBuffer into which we want to encode.