File tree Expand file tree Collapse file tree
jme3-core/src/plugins/java/com/jme3/export/binary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -382,15 +382,15 @@ public InputCapsule getCapsule(Savable id) {
382382 return capsuleTable .get (id );
383383 }
384384
385- private String readString (InputStream is , int length ) throws IOException {
385+ protected String readString (InputStream f , int length ) throws IOException {
386386 byte [] data = new byte [length ];
387- for (int j = 0 ; j < length ; j ++) {
388- data [j ] = (byte ) is .read ();
387+ for (int j = 0 ; j < length ; j ++) {
388+ data [j ] = (byte )f .read ();
389389 }
390390 return new String (data );
391391 }
392392
393- private String readString (int length , int offset ) {
393+ protected String readString (int length , int offset ) throws IOException {
394394 byte [] data = new byte [length ];
395395 for (int j = 0 ; j < length ; j ++) {
396396 data [j ] = dataArray [j + offset ];
You can’t perform that action at this time.
0 commit comments