java.lang.Object
io.helidon.common.buffers.LazyString
String that materializes only when requested.
-
Constructor Summary
ConstructorDescriptionLazyString
(byte[] buffer, int offset, int length, Charset charset) New instance.LazyString
(byte[] buffer, Charset charset) New instance. -
Method Summary
-
Constructor Details
-
LazyString
New instance.- Parameters:
buffer
- buffer to useoffset
- offset within the bufferlength
- lengthcharset
- character set to construct the string
-
LazyString
New instance.- Parameters:
buffer
- buffer to use (all bytes)charset
- character set to construct the string
-
-
Method Details