Java ByteBuffer Flip flip(ByteBuffer[] buffers)

Here you can find the source of flip(ByteBuffer[] buffers)

Description

flip

License

Open Source License

Declaration

public static final void flip(ByteBuffer[] buffers) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.nio.ByteBuffer;

public class Main {
    public static final void flip(ByteBuffer[] buffers) {
        if (buffers == null) {
            return;
        }//from   w  ww .  j a v  a2s .  c o m
        for (ByteBuffer buffer : buffers) {
            if (buffer != null) {
                buffer.flip();
            }
        }
    }
}

Related

  1. flip(ByteBuffer b)
  2. flip(ByteBuffer buffer)
  3. flip(ByteBuffer bytes, int width, int height)
  4. flip(ByteBuffer bytes, int width, int height)
  5. flip(ByteBuffer[] bufs)
  6. flipPutFlip(ByteBuffer from, ByteBuffer to)
  7. flipToFill(ByteBuffer buffer)
  8. flipToFlush(ByteBuffer buffer, int position)