mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Reviewed-by: asotona
This commit is contained in:
parent
451cc23905
commit
414a7fdc5e
4 changed files with 4 additions and 11 deletions
|
@ -24,7 +24,6 @@
|
|||
*/
|
||||
package java.lang.classfile;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.List;
|
||||
|
||||
import java.lang.classfile.constantpool.ConstantPool;
|
||||
|
@ -192,11 +191,6 @@ public sealed interface BufWriter
|
|||
*/
|
||||
int size();
|
||||
|
||||
/**
|
||||
* {@return a {@link java.nio.ByteBuffer ByteBuffer} view of the bytes in the buffer}
|
||||
*/
|
||||
ByteBuffer asByteBuffer();
|
||||
|
||||
/**
|
||||
* Copy the contents of the buffer into a byte array.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue