private static MessageBuffer newMessageBuffer ( ByteBuffer bb ) { checkNotNull ( bb ) ; if ( mbBBConstructor != null ) { return newInstance ( mbBBConstructor , bb ) ; } return new MessageBuffer ( bb ) ; }
Creates a new MessageBuffer instance backed by ByteBuffer