Top Description Methods
com.mysql.cj.protocol

public Interface Message

Known Direct Implementers
com.mysql.cj.protocol.a.NativePacketPayload, com.mysql.cj.protocol.x.XMessage

Message is the content of a full single message (native protocol packet or protobuf message), independent from on-wire splitting, communicated with the server.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

byte array being read from
getByteBuffer
()

Returns the array of bytes this Buffer is using to read from.

public int

Returns:

the current position to write to/ read from
getPosition
()

Returns the current position to write to/ read from

Method Detail

getByteBufferback to summary
public byte[] getByteBuffer()

Returns the array of bytes this Buffer is using to read from.

Returns:byte[]

byte array being read from

getPositionback to summary
public int getPosition()

Returns the current position to write to/ read from

Returns:int

the current position to write to/ read from