Skip to content

Commit

Permalink
add some comments and license information for sora-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavPurwar committed Jun 25, 2022
1 parent d2f7d09 commit 9f6ec9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ private static FileOutputStream getFileOutputStream(
}

/**
* This method has been modified to work on android.
* Returns the given input stream's contents as a byte array. All bytes in the stream are
* returned. Note this doesn't close the stream.
*
Expand All @@ -483,6 +484,7 @@ public static byte[] getInputStreamAsByteArray(InputStream input) throws IOExcep
}

/**
* This method has been modified to work on android
* Returns the given input stream's first bytes as array. Note this doesn't close the stream.
*
* @throws IOException if a problem occurred reading the stream.
Expand Down
5 changes: 5 additions & 0 deletions sora-editor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# sora-editor

This code is copied here from https://github.com/Rosemoe/sora-editor to remove some pieces of code like XML Parser and some css classes that had some external dependencies while not really in common use.

This copy is licensed on LGPL-2.1 as the original library.

0 comments on commit 9f6ec9a

Please sign in to comment.