String
extension String
-
Creates a
String
from a givenByteBuffer
. The entire readable portion of the buffer will be read.Declaration
Swift
@inlinable public init(buffer: ByteBuffer)
Parameters
buffer
The buffer to read.