openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajath Shashidhara <rajaths.raja...@gmail.com>
Subject XInputStream
Date Tue, 18 Jun 2013 14:20:17 GMT
Hello,

The methods readBytes and readSomeBytes have an argument Byte[][] .

But shouldn't it be Byte[] ? because java.io.InputStream reads to a byte[]?
What is the point of having a byte [][]?

This example also suggests this:
http://forum.openoffice.org/en/forum/viewtopic.php?t=3801

They copy the ans to buffer[0] in buffer[][].

-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message