Skip to content

Commit

Permalink
Remove deprecated 'raw' and 'raws' encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Aug 6, 2016
1 parent 993bba9 commit 6696bb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ Buffer.isEncoding = function isEncoding (encoding) {
case 'ascii':
case 'binary':
case 'base64':
case 'raw':
case 'ucs2':
case 'ucs-2':
case 'utf16le':
Expand Down Expand Up @@ -415,8 +414,6 @@ function byteLength (string, encoding) {
switch (encoding) {
case 'ascii':
case 'binary':
case 'raw':
case 'raws':
return len
case 'utf8':
case 'utf-8':
Expand Down

0 comments on commit 6696bb0

Please sign in to comment.