Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Nov 25, 2024
1 parent 874f409 commit fef6a8f
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/codecs/bool.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class BoolCodec {
decode(view, byteOffset = 0) {
return {read: 1, value: !!view.getUint8(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/buffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class BufferCodec {

decode(view, byteOffset = 0) {
Expand Down
1 change: 0 additions & 1 deletion src/codecs/float32.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Float32Codec {
decode(view, byteOffset = 0) {
return {read: 4, value: view.getFloat32(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/float64.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Float64Codec {
decode(view, byteOffset = 0) {
return {read: 8, value: view.getFloat64(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/int16.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Int16Codec {
decode(view, byteOffset = 0) {
return {read: 2, value: view.getInt16(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/int32.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Int32Codec {
decode(view, byteOffset = 0) {
return {read: 4, value: view.getInt32(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/int8.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Int8Codec {
decode(view, byteOffset = 0) {
return {read: 1, value: view.getInt8(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/string.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class StringCodec {

static decoder = new TextDecoder();
Expand Down
1 change: 0 additions & 1 deletion src/codecs/uint16.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Uint16Codec {
decode(view, byteOffset = 0) {
return {read: 2, value: view.getUint16(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/uint32.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Uint32Codec {
decode(view, byteOffset = 0) {
return {read: 4, value: view.getUint32(byteOffset)};
Expand Down
1 change: 0 additions & 1 deletion src/codecs/uint8.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class Uint8Codec {
decode(view, byteOffset = 0) {
return {read: 1, value: view.getUint8(byteOffset)};
Expand Down

0 comments on commit fef6a8f

Please sign in to comment.