Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1033066 // gzipBytesCompressedLength - get how long the compressed version would be

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (3881L) is out of date.

1  
static long gzipBytesCompressedLength(byte[] data) {
2  
  ret gzippedSize(data);
3  
}
4  
5  
6  
7  
static int gzipBytesCompressedLength(S s) {
8  
  ret gzippedSize(s);
9  
}
10  
11  
12  
13  
static long gzipBytesCompressedLength(File f) {
14  
  ret gzippedSize(f);
15  
}

Author comment

Began life as a copy of #1011183

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033066
Snippet name: gzipBytesCompressedLength - get how long the compressed version would be
Eternal ID of this version: #1033066/2
Text MD5: 67596745a5c9c59e7fa3dca09a3aaaab
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-27 03:15:25
Source code size: 229 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 79 / 136
Version history: 1 change(s)
Referenced in: [show references]