0

In my project, I only use nio bytebuffer,because gwt support this, I wander, dose gwt support netty ByteBuf ?

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-buffer</artifactId>
    <version>4.0.25.Final</version>
</dependency>

Currently, I don't have gwt env, but I hope this project support gwt.

BTW, bytebuffer and bytebuf is easy to conver to each other by this comment.If the internal of bytebuf just use bytebuffer, so, there will be no problem under gwt.

Dose any one can test this ?

Community
  • 1
  • 1
wener
  • 7,191
  • 6
  • 54
  • 78

1 Answers1

0

As far as I know GWT only supports ByteBuffer as this is part of Java itself. ByteBuf is a class which is part of Netty.

Norman Maurer
  • 23,104
  • 2
  • 33
  • 31
  • netty-buffer is a sperate module.ByteBuf is more friendly than ByteBuffer.It's not bind to netty – wener Feb 24 '15 at 07:48