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

4
LINES

< > BotCompany Repo | #1035681 // assertByteArraysEqual

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

Libraryless. Click here for Pure Java version (10068L/56K).

1  
svoid assertByteArraysEqual(S msg default "", byte[] a, byte... b) {
2  
  L l1 = wrapByteArrayAsList(a), l2 = wrapByteArrayAsList(b);
3  
  assertListsEqual(msg, l1, l2);
4  
}

Author comment

Began life as a copy of #1035644

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035681
Snippet name: assertByteArraysEqual
Eternal ID of this version: #1035681/1
Text MD5: f4ce675bdfe8667a32c0b1bdf3ad69fd
Transpilation MD5: 9bdc699136b30bbcdad0478cf7198f5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-06 20:21:58
Source code size: 168 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 221
Referenced in: [show references]