Uses of Class
dev.relism.flash.bytes.ByteWriter
Packages that use ByteWriter
Package
Description
-
Uses of ByteWriter in dev.relism.flash.http2.frame
Methods in dev.relism.flash.http2.frame that return ByteWriterModifier and TypeMethodDescriptionFrameWriteBuffer.writer()The underlyingByteWriter— write the frame's payload directly through this betweenFrameWriteBuffer.beginFrame(dev.relism.flash.http2.frame.FrameType, int, int)andFrameWriteBuffer.endFrame().Constructors in dev.relism.flash.http2.frame with parameters of type ByteWriter -
Uses of ByteWriter in dev.relism.flash.http2.hpack
Methods in dev.relism.flash.http2.hpack with parameters of type ByteWriterModifier and TypeMethodDescriptionstatic voidHpackIntegers.encode(ByteWriter out, int prefixByteFlags, int prefixBits, int value) Encodesvalueas a prefix-coded integer intoprefixByteFlags | encoded value, writing intoout.static voidHuffman.encode(ByteWriter out, byte[] src, int off, int len) Huffman-encodessrc[off, off + len), writing directly intoout.static voidHpackEncoder.writeDynamicTableSizeUpdateZero(ByteWriter out) Declares that this endpoint will not use an encoder-side dynamic table.static voidHpackEncoder.writeIndexed(ByteWriter out, int staticIndex) static voidHpackEncoder.writeLiteral(ByteWriter out, byte[] name, byte[] value) static voidHpackEncoder.writeLiteral(ByteWriter out, byte[] name, int nameOff, int nameLen, byte[] value, int valueOff, int valueLen, boolean huffmanValue) static voidHpackEncoder.writeLiteral(ByteWriter out, dev.relism.fpr.core.ByteView name, dev.relism.fpr.core.ByteView value) Writes a non-indexed literal directly from protocol-neutral byte views.static voidHpackEncoder.writeLiteralNeverIndexed(ByteWriter out, byte[] name, byte[] value, boolean huffmanValue) static voidHpackEncoder.writeLiteralNeverIndexedWithNameIndex(ByteWriter out, int nameIndex, byte[] value, boolean huffmanValue) static voidHpackEncoder.writeLiteralWithNameIndex(ByteWriter out, int nameIndex, byte[] value, boolean huffmanValue) static voidHpackEncoder.writeLiteralWithNameIndex(ByteWriter out, int nameIndex, byte[] value, int valueOff, int valueLen, boolean huffmanValue) -
Uses of ByteWriter in dev.relism.flash.models
Methods in dev.relism.flash.models with parameters of type ByteWriterModifier and TypeMethodDescriptionvoidResponse.writeHeadersInto(ByteWriter head) Writes every custom header directly intohead(a scratchByteWriter— This is whatHttp1ResponseWriteruses;Response.writeHeaders(OutputStream)below (theOutputStreamequivalent) exists for the streaming-body write paths that cannot fold their whole write into one scratch buffer. -
Uses of ByteWriter in dev.relism.flash.transport
Fields in dev.relism.flash.transport declared as ByteWriterModifier and TypeFieldDescriptionfinal ByteWriterConnectionScratch.responseHead(status line,Content-Type,Date, custom headers,Content-Length/Connection, and — for small fixed bodies — the body itself) into before issuing a single bulkwrite(), instead of ~10 smallOutputStream.writecalls.