mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-02 06:35:04 +00:00
feat: implement WithLocalSvg
This commit is contained in:
@@ -250,7 +250,7 @@ class RNSVGRenderableManager extends ReactContextBaseJavaModule {
|
||||
char[] buffer = new char[DEFAULT_BUFFER_SIZE];
|
||||
StringBuilder builder = new StringBuilder();
|
||||
int n;
|
||||
while ((n = reader.read(buffer)) != EOF) {
|
||||
while ((n = reader.read(buffer, 0, DEFAULT_BUFFER_SIZE)) != EOF) {
|
||||
builder.append(buffer, 0, n);
|
||||
}
|
||||
String result = builder.toString();
|
||||
|
||||
Reference in New Issue
Block a user