mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.hex: Deprecate to/from in favour of encode/decode, for consistency!
This commit is contained in:
parent
fe56effa55
commit
ab835fed13
8 changed files with 31 additions and 27 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
local random = require "util.random";
|
||||
local random_bytes = random.bytes;
|
||||
local hex = require "util.hex".to;
|
||||
local hex = require "util.hex".encode;
|
||||
local m_ceil = math.ceil;
|
||||
|
||||
local function get_nibbles(n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue