Encodes the headers into a buffer. @param headers The headers to encode @param target The buffer to which to write the encoded headers @return The state of the encoding process
(MimeHeaders headers, ByteBuffer target)
| 121 | * @return The state of the encoding process |
| 122 | */ |
| 123 | State encode(MimeHeaders headers, ByteBuffer target) { |
| 124 | return encode(headers, target, true); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Encodes the headers into a buffer. |