Top Fields Constructors Methods
io.rsocket.frame

pack-priv Class FrameBodyCodec

extends Object
Class Inheritance
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator, .Unpooled, reactor.util.annotation.Nullable

Field Summary

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static ByteBuf
dataWithoutMarking(ByteBuf byteBuf, boolean hasMetadata)

private static int
decodeLength(final ByteBuf byteBuf)

pack-priv static ByteBuf
encode(ByteBufAllocator allocator, final ByteBuf header, ByteBuf metadata, boolean hasMetadata, ByteBuf data)

private static void
encodeLength(final ByteBuf byteBuf, final int length)

pack-priv static ByteBuf
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FRAME_LENGTH_MASKback to summary
public static final int FRAME_LENGTH_MASK

Constructor Detail

FrameBodyCodecback to summary
private FrameBodyCodec()

Method Detail

dataWithoutMarkingback to summary
pack-priv static ByteBuf dataWithoutMarking(ByteBuf byteBuf, boolean hasMetadata)
decodeLengthback to summary
private static int decodeLength(final ByteBuf byteBuf)
encodeback to summary
pack-priv static ByteBuf encode(ByteBufAllocator allocator, final ByteBuf header, ByteBuf metadata, boolean hasMetadata, ByteBuf data)
encodeLengthback to summary
private static void encodeLength(final ByteBuf byteBuf, final int length)
metadataWithoutMarkingback to summary
pack-priv static ByteBuf metadataWithoutMarking(ByteBuf byteBuf)