public interface TypeDecoderStrategy
TypeInformation.| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecode(io.netty.buffer.ByteBuf buffer)
Check whether the
ByteBuf contains sufficient readable bytes to decode the TypeInformation. |
void |
decode(io.r2dbc.mssql.message.type.MutableTypeInformation typeInfo,
io.netty.buffer.ByteBuf buffer)
Decode the type information and enhance
MutableTypeInformation. |
boolean canDecode(io.netty.buffer.ByteBuf buffer)
ByteBuf contains sufficient readable bytes to decode the TypeInformation.buffer - the data buffer.true if the data buffer contains sufficient readable bytes to decode the TypeInformation.void decode(io.r2dbc.mssql.message.type.MutableTypeInformation typeInfo,
io.netty.buffer.ByteBuf buffer)
MutableTypeInformation.typeInfo - the mutable TypeInformation.buffer - the data buffer.Copyright © 2023. All rights reserved.