public interface BufferFactory<T>
Buffer
instances from T
instances.Modifier and Type | Method and Description |
---|---|
Buffer |
create(T value)
Creates a new
Buffer given a T instance. |
Buffer |
wrap(ByteBuffer value)
Wraps a NIO buffer.
|
Buffer wrap(ByteBuffer value)
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.