ByteBuffer.put() | Java

 

Descripción

Sintaxis

public abstract ByteBuffer put(byte b)
public final ByteBuffer put(byte[] src)
public ByteBuffer put(byte[] src, int offset, int length)
public abstract ByteBuffer put(int index, byte b)
public ByteBuffer put(ByteBuffer src)

Parámetros

  • ByteBuffer src,
  • byte[] src,
  • int length,
  • byte b,
  • int offset,
  • int index,

Excepciones

BufferOverflowException, IndexOutOfBoundsException, ReadOnlyBufferException, IllegalArgumentException

Clase Padre

ByteBuffer

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.