2003-08-02 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBufferImpl.java (getChar): Check remaining bytes, fixed comment about endianess. (putChar): Likewise. (getShort): Likewise. (putShort): Likewise. (getInt): Check remaining bytes, fixed conversion, fixed comment about endianess. (putInt): Likewise. (getLong): Likewise. (putLong): Likewise. (getFloat): Likewise. (putFloat): Likewise. (getDouble): Likewise. (putDouble): Likewise. * java/nio/DirectByteBufferImpl.java (getChar): Wrapped code, fixed comment about endianess. (putchar): Likewise. (getShort): Likewise. (putShort): Likewise. (getInt): Fixed conversion, fixed comment about endianess. (putInt): Likewise. (getLong): Likewise. (putLong): Likewise. (getFloat): Likewise. (putFloat): Likewise. (getDouble): Likewise. (putDouble): Likewise. * java/nio/MappedByteBufferImpl.java (compact): Implemented. (getChar): Implemented. (putChar): Implemented. (getDouble): Implemented. (putdouble): Implemented. (getFloat): Implemented. (putFloat): Implemented. (getInt): Implemented. (putInt): Implemented. (getLong): Implemented. (putLong): Implemented. (getShort): Implemented. (putShort): Implemented. * java/nio/channels/FileChannelImpl.java (read): Set position where to access file. (write): Likewise. (transferTo): Flip buffer after read and before write. (transferFrom): Likewise. From-SVN: r70102
Showing
- libjava/ChangeLog 49 additions, 0 deletionslibjava/ChangeLog
- libjava/java/nio/ByteBufferImpl.java 137 additions, 65 deletionslibjava/java/nio/ByteBufferImpl.java
- libjava/java/nio/DirectByteBufferImpl.java 64 additions, 60 deletionslibjava/java/nio/DirectByteBufferImpl.java
- libjava/java/nio/MappedByteBufferImpl.java 46 additions, 13 deletionslibjava/java/nio/MappedByteBufferImpl.java
- libjava/java/nio/channels/FileChannelImpl.java 4 additions, 0 deletionslibjava/java/nio/channels/FileChannelImpl.java
Loading
Please register or sign in to comment