+
Skip to content

readAllBytes #115

Open
Open
@azeroth2b

Description

@azeroth2b

byte[] decompressed = gunzipStream.readAllBytes();

ReadAllBytes is introduced in Java9, Since you're already inluding Apache Commons IO, I think you can replace it with the following and avoid the Java9 Dependency.
byte[] decompressed = IOUtils.toByteArray(gunzipStream);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载